def METHOD_NAME(self):
    assert test_module.validate_seed(None) is None
    assert SEED.encode("ascii") == test_module.validate_seed(SEED_B64)
    assert SEED.encode("ascii") == test_module.validate_seed(SEED)
    with pytest.raises(test_module.WalletError) as excinfo:
        test_module.validate_seed({"bad": "seed"})
    assert "value is not a string or bytes" in str(excinfo.value)
    with pytest.raises(test_module.WalletError) as excinfo:
        test_module.validate_seed(f"{SEED}{SEED}")
    assert "value must be 32 bytes in length" in str(excinfo.value)