diff --git a/tests/unit/wallet/server/test_sqldb.py b/tests/unit/wallet/server/test_sqldb.py index e7b103b55..9d08f2b87 100644 --- a/tests/unit/wallet/server/test_sqldb.py +++ b/tests/unit/wallet/server/test_sqldb.py @@ -3,7 +3,7 @@ import ecdsa import hashlib import logging from binascii import hexlify -from lbry.wallet.client.constants import COIN, NULL_HASH32 +from lbry.wallet.constants import COIN, NULL_HASH32 from lbry.schema.claim import Claim from lbry.wallet.server.db import reader, writer diff --git a/tests/unit/wallet/test_bip32.py b/tests/unit/wallet/test_bip32.py index 92d99325f..64e72c907 100644 --- a/tests/unit/wallet/test_bip32.py +++ b/tests/unit/wallet/test_bip32.py @@ -1,7 +1,7 @@ from binascii import unhexlify, hexlify from lbry.testcase import AsyncioTestCase -from lbry.wallet.client.bip32 import PubKey, PrivateKey, from_extended_key_string +from lbry.wallet.bip32 import PubKey, PrivateKey, from_extended_key_string from lbry.wallet import Ledger, Database, Headers from tests.unit.wallet.key_fixtures import expected_ids, expected_privkeys, expected_hardened_privkeys diff --git a/tests/unit/wallet/test_coinselection.py b/tests/unit/wallet/test_coinselection.py index d6dec1d4d..e47d7d6e3 100644 --- a/tests/unit/wallet/test_coinselection.py +++ b/tests/unit/wallet/test_coinselection.py @@ -3,7 +3,7 @@ from types import GeneratorType from lbry.testcase import AsyncioTestCase from lbry.wallet import Ledger, Database, Headers -from lbry.wallet.client.coinselection import CoinSelector, MAXIMUM_TRIES +from lbry.wallet.coinselection import CoinSelector, MAXIMUM_TRIES from lbry.constants import CENT from tests.unit.wallet.test_transaction import get_output as utxo diff --git a/tests/unit/wallet/test_database.py b/tests/unit/wallet/test_database.py index ddb1a4003..dd30db5f4 100644 --- a/tests/unit/wallet/test_database.py +++ b/tests/unit/wallet/test_database.py @@ -9,7 +9,7 @@ from concurrent.futures.thread import ThreadPoolExecutor from lbry.wallet import ( Wallet, Account, Ledger, Database, Headers, Transaction, Input ) -from lbry.wallet.client.constants import COIN +from lbry.wallet.constants import COIN from lbry.wallet.database import query, interpolate, constraints_to_sql, AIOSQLite from lbry.crypto.hash import sha256 from lbry.testcase import AsyncioTestCase diff --git a/tests/unit/wallet/test_headers.py b/tests/unit/wallet/test_headers.py index 3213146a8..456529e75 100644 --- a/tests/unit/wallet/test_headers.py +++ b/tests/unit/wallet/test_headers.py @@ -4,7 +4,7 @@ import tempfile from binascii import hexlify, unhexlify from lbry.crypto.hash import sha256 -from lbry.wallet.client.util import ArithUint256 +from lbry.wallet.util import ArithUint256 from lbry.testcase import AsyncioTestCase from lbry.wallet.ledger import Headers diff --git a/tests/unit/wallet/test_mnemonic.py b/tests/unit/wallet/test_mnemonic.py index 26c640a96..76962d955 100644 --- a/tests/unit/wallet/test_mnemonic.py +++ b/tests/unit/wallet/test_mnemonic.py @@ -1,7 +1,7 @@ import unittest from binascii import hexlify -from lbry.wallet.client.mnemonic import Mnemonic +from lbry.wallet.mnemonic import Mnemonic class TestMnemonic(unittest.TestCase): diff --git a/tests/unit/wallet/test_schema_signing.py b/tests/unit/wallet/test_schema_signing.py index 2a3acc1c0..dbe31943e 100644 --- a/tests/unit/wallet/test_schema_signing.py +++ b/tests/unit/wallet/test_schema_signing.py @@ -1,7 +1,7 @@ from binascii import unhexlify from lbry.testcase import AsyncioTestCase -from lbry.wallet.client.constants import CENT, NULL_HASH32 +from lbry.wallet.constants import CENT, NULL_HASH32 from lbry.wallet import Ledger, Database, Headers, Transaction, Input, Output from lbry.schema.claim import Claim diff --git a/tests/unit/wallet/test_transaction.py b/tests/unit/wallet/test_transaction.py index 54e4e361f..a876a12b9 100644 --- a/tests/unit/wallet/test_transaction.py +++ b/tests/unit/wallet/test_transaction.py @@ -3,7 +3,7 @@ from binascii import hexlify, unhexlify from itertools import cycle from lbry.testcase import AsyncioTestCase -from lbry.wallet.client.constants import CENT, COIN, NULL_HASH32 +from lbry.wallet.constants import CENT, COIN, NULL_HASH32 from lbry.wallet import Wallet, Account, Ledger, Database, Headers, Transaction, Output, Input diff --git a/tests/unit/wallet/test_utils.py b/tests/unit/wallet/test_utils.py index 687371308..b0933cb88 100644 --- a/tests/unit/wallet/test_utils.py +++ b/tests/unit/wallet/test_utils.py @@ -1,7 +1,7 @@ import unittest -from lbry.wallet.client.util import ArithUint256 -from lbry.wallet.client.util import coins_to_satoshis as c2s, satoshis_to_coins as s2c +from lbry.wallet.util import ArithUint256 +from lbry.wallet.util import coins_to_satoshis as c2s, satoshis_to_coins as s2c class TestCoinValueParsing(unittest.TestCase):