diff --git a/tests/device_tests/test_debuglink.py b/tests/device_tests/test_debuglink.py index 50f77f401..3d159fe4d 100644 --- a/tests/device_tests/test_debuglink.py +++ b/tests/device_tests/test_debuglink.py @@ -18,7 +18,7 @@ import pytest from trezorlib import debuglink, messages -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.skip_t2 diff --git a/tests/device_tests/test_msg_cardano_get_address.py b/tests/device_tests/test_msg_cardano_get_address.py index 158f246f4..d7429e121 100644 --- a/tests/device_tests/test_msg_cardano_get_address.py +++ b/tests/device_tests/test_msg_cardano_get_address.py @@ -19,7 +19,7 @@ import pytest from trezorlib.cardano import get_address from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_cardano_get_address_shamir.py b/tests/device_tests/test_msg_cardano_get_address_shamir.py index 6347d2267..e59aad405 100644 --- a/tests/device_tests/test_msg_cardano_get_address_shamir.py +++ b/tests/device_tests/test_msg_cardano_get_address_shamir.py @@ -19,7 +19,7 @@ import pytest from trezorlib.cardano import get_address from trezorlib.tools import parse_path -from .common import MNEMONIC_SHAMIR_20_3of6 +from ..common import MNEMONIC_SHAMIR_20_3of6 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_cardano_get_public_key_shamir.py b/tests/device_tests/test_msg_cardano_get_public_key_shamir.py index 65a0cc3ba..6e96e601b 100644 --- a/tests/device_tests/test_msg_cardano_get_public_key_shamir.py +++ b/tests/device_tests/test_msg_cardano_get_public_key_shamir.py @@ -19,7 +19,7 @@ import pytest from trezorlib.cardano import get_public_key from trezorlib.tools import parse_path -from .common import MNEMONIC_SHAMIR_20_3of6 +from ..common import MNEMONIC_SHAMIR_20_3of6 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_cardano_sign_tx_shamir.py b/tests/device_tests/test_msg_cardano_sign_tx_shamir.py index 2a28b87f1..10d197d92 100644 --- a/tests/device_tests/test_msg_cardano_sign_tx_shamir.py +++ b/tests/device_tests/test_msg_cardano_sign_tx_shamir.py @@ -18,7 +18,7 @@ import pytest from trezorlib import cardano, messages -from .common import MNEMONIC_SHAMIR_20_3of6 +from ..common import MNEMONIC_SHAMIR_20_3of6 PROTOCOL_MAGICS = {"mainnet": 764824073, "testnet": 1097911063} diff --git a/tests/device_tests/test_msg_changepin.py b/tests/device_tests/test_msg_changepin.py index f9fdf4eab..2ef2993fe 100644 --- a/tests/device_tests/test_msg_changepin.py +++ b/tests/device_tests/test_msg_changepin.py @@ -18,7 +18,7 @@ import pytest from trezorlib import messages as proto -from .common import MNEMONIC12 +from ..common import MNEMONIC12 PIN4 = "1234" PIN6 = "789456" diff --git a/tests/device_tests/test_msg_cipherkeyvalue.py b/tests/device_tests/test_msg_cipherkeyvalue.py index e59f09c34..18cb321ac 100644 --- a/tests/device_tests/test_msg_cipherkeyvalue.py +++ b/tests/device_tests/test_msg_cipherkeyvalue.py @@ -18,7 +18,7 @@ import pytest from trezorlib import misc -from .common import MNEMONIC12 +from ..common import MNEMONIC12 class TestMsgCipherkeyvalue: diff --git a/tests/device_tests/test_msg_eos_get_public_key.py b/tests/device_tests/test_msg_eos_get_public_key.py index 64a29b8e0..56100350c 100644 --- a/tests/device_tests/test_msg_eos_get_public_key.py +++ b/tests/device_tests/test_msg_eos_get_public_key.py @@ -19,7 +19,7 @@ import pytest from trezorlib.eos import get_public_key from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_eos_signtx.py b/tests/device_tests/test_msg_eos_signtx.py index 993c9b420..77f9a5289 100644 --- a/tests/device_tests/test_msg_eos_signtx.py +++ b/tests/device_tests/test_msg_eos_signtx.py @@ -20,7 +20,7 @@ from trezorlib import eos from trezorlib.messages import EosSignedTx from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 CHAIN_ID = "cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f" ADDRESS_N = parse_path("m/44'/194'/0'/0/0") diff --git a/tests/device_tests/test_msg_ethereum_getaddress.py b/tests/device_tests/test_msg_ethereum_getaddress.py index 76da18486..3ded72b38 100644 --- a/tests/device_tests/test_msg_ethereum_getaddress.py +++ b/tests/device_tests/test_msg_ethereum_getaddress.py @@ -19,7 +19,7 @@ import pytest from trezorlib import ethereum from trezorlib.tools import H_ -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_ethereum_getpublickey.py b/tests/device_tests/test_msg_ethereum_getpublickey.py index 8e46d6cc5..715e4747c 100644 --- a/tests/device_tests/test_msg_ethereum_getpublickey.py +++ b/tests/device_tests/test_msg_ethereum_getpublickey.py @@ -19,7 +19,7 @@ import pytest from trezorlib import ethereum from trezorlib.tools import H_ -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_ethereum_signmessage.py b/tests/device_tests/test_msg_ethereum_signmessage.py index 2b0d1ffb6..895587cc5 100644 --- a/tests/device_tests/test_msg_ethereum_signmessage.py +++ b/tests/device_tests/test_msg_ethereum_signmessage.py @@ -19,7 +19,7 @@ import pytest from trezorlib import ethereum from trezorlib.tools import H_ -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_ethereum_signtx.py b/tests/device_tests/test_msg_ethereum_signtx.py index 3d61efc05..c85017fac 100644 --- a/tests/device_tests/test_msg_ethereum_signtx.py +++ b/tests/device_tests/test_msg_ethereum_signtx.py @@ -20,7 +20,7 @@ from trezorlib import ethereum, messages from trezorlib.exceptions import TrezorFailure from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 TO_ADDR = "0x1d1c328764a41bda0492b66baa30c4a339ff85ef" diff --git a/tests/device_tests/test_msg_getaddress.py b/tests/device_tests/test_msg_getaddress.py index 963a82289..8dd26e73e 100644 --- a/tests/device_tests/test_msg_getaddress.py +++ b/tests/device_tests/test_msg_getaddress.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, ckd_public as bip32, messages as proto from trezorlib.tools import H_, CallException, parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 def getmultisig(chain, nr, xpubs, signatures=[b"", b"", b""]): diff --git a/tests/device_tests/test_msg_getaddress_show.py b/tests/device_tests/test_msg_getaddress_show.py index 5af692c04..acd236e5b 100644 --- a/tests/device_tests/test_msg_getaddress_show.py +++ b/tests/device_tests/test_msg_getaddress_show.py @@ -18,7 +18,7 @@ import pytest from trezorlib import btc, ckd_public as bip32, messages as proto -from .common import MNEMONIC12 +from ..common import MNEMONIC12 class TestMsgGetaddressShow: diff --git a/tests/device_tests/test_msg_getecdhsessionkey.py b/tests/device_tests/test_msg_getecdhsessionkey.py index 0d038f0b7..052cdbdfc 100644 --- a/tests/device_tests/test_msg_getecdhsessionkey.py +++ b/tests/device_tests/test_msg_getecdhsessionkey.py @@ -18,7 +18,7 @@ import pytest from trezorlib import messages as proto, misc -from .common import MNEMONIC12 +from ..common import MNEMONIC12 class TestMsgGetECDHSessionKey: diff --git a/tests/device_tests/test_msg_getpublickey.py b/tests/device_tests/test_msg_getpublickey.py index 522d99055..78d7d81d1 100644 --- a/tests/device_tests/test_msg_getpublickey.py +++ b/tests/device_tests/test_msg_getpublickey.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, ckd_public as bip32, messages as proto from trezorlib.tools import H_ -from .common import MNEMONIC12 +from ..common import MNEMONIC12 class TestMsgGetpublickey: diff --git a/tests/device_tests/test_msg_getpublickey_curve.py b/tests/device_tests/test_msg_getpublickey_curve.py index cf919e20b..69db02056 100644 --- a/tests/device_tests/test_msg_getpublickey_curve.py +++ b/tests/device_tests/test_msg_getpublickey_curve.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc from trezorlib.tools import H_, CallException -from .common import MNEMONIC12 +from ..common import MNEMONIC12 class TestMsgGetpublickeyCurve: diff --git a/tests/device_tests/test_msg_lisk_getaddress.py b/tests/device_tests/test_msg_lisk_getaddress.py index b6ed01434..9b25e42f7 100644 --- a/tests/device_tests/test_msg_lisk_getaddress.py +++ b/tests/device_tests/test_msg_lisk_getaddress.py @@ -19,7 +19,7 @@ import pytest from trezorlib import lisk from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 LISK_PATH = parse_path("m/44h/134h/0h/1h") diff --git a/tests/device_tests/test_msg_lisk_getpublickey.py b/tests/device_tests/test_msg_lisk_getpublickey.py index ee228720c..5bc381ff2 100644 --- a/tests/device_tests/test_msg_lisk_getpublickey.py +++ b/tests/device_tests/test_msg_lisk_getpublickey.py @@ -19,7 +19,7 @@ import pytest from trezorlib import lisk from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 LISK_PATH = parse_path("m/44h/134h/0h/0h") diff --git a/tests/device_tests/test_msg_lisk_signmessage.py b/tests/device_tests/test_msg_lisk_signmessage.py index f7f3e381d..8b612d3cd 100644 --- a/tests/device_tests/test_msg_lisk_signmessage.py +++ b/tests/device_tests/test_msg_lisk_signmessage.py @@ -19,7 +19,7 @@ import pytest from trezorlib import lisk from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 LISK_PATH = parse_path("m/44h/134h/0h/0h") diff --git a/tests/device_tests/test_msg_loaddevice.py b/tests/device_tests/test_msg_loaddevice.py index be0c0fa9a..bc04be372 100644 --- a/tests/device_tests/test_msg_loaddevice.py +++ b/tests/device_tests/test_msg_loaddevice.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, debuglink, device from trezorlib.messages.PassphraseSourceType import HOST as PASSPHRASE_ON_HOST -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.setup_client(uninitialized=True) diff --git a/tests/device_tests/test_msg_monero_getaddress.py b/tests/device_tests/test_msg_monero_getaddress.py index 17bada214..f4c62f6fe 100644 --- a/tests/device_tests/test_msg_monero_getaddress.py +++ b/tests/device_tests/test_msg_monero_getaddress.py @@ -19,7 +19,7 @@ import pytest from trezorlib import monero from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_monero_getwatchkey.py b/tests/device_tests/test_msg_monero_getwatchkey.py index e2d1ddd42..b65bd7ab8 100644 --- a/tests/device_tests/test_msg_monero_getwatchkey.py +++ b/tests/device_tests/test_msg_monero_getwatchkey.py @@ -19,7 +19,7 @@ import pytest from trezorlib import monero from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_nem_getaddress.py b/tests/device_tests/test_msg_nem_getaddress.py index 1a33e1aba..2316b688e 100644 --- a/tests/device_tests/test_msg_nem_getaddress.py +++ b/tests/device_tests/test_msg_nem_getaddress.py @@ -19,7 +19,7 @@ import pytest from trezorlib import nem from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_nem_signtx_mosaics.py b/tests/device_tests/test_msg_nem_signtx_mosaics.py index 5e46ed9a5..25e2b03b1 100644 --- a/tests/device_tests/test_msg_nem_signtx_mosaics.py +++ b/tests/device_tests/test_msg_nem_signtx_mosaics.py @@ -19,7 +19,7 @@ import pytest from trezorlib import nem from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 # assertion data from T1 diff --git a/tests/device_tests/test_msg_nem_signtx_mosaics_t2.py b/tests/device_tests/test_msg_nem_signtx_mosaics_t2.py index a88f77d2a..3cc41d083 100644 --- a/tests/device_tests/test_msg_nem_signtx_mosaics_t2.py +++ b/tests/device_tests/test_msg_nem_signtx_mosaics_t2.py @@ -20,7 +20,7 @@ from trezorlib import messages as proto, nem from trezorlib.messages import ButtonRequestType as B from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 # assertion data from T1 diff --git a/tests/device_tests/test_msg_nem_signtx_multisig.py b/tests/device_tests/test_msg_nem_signtx_multisig.py index 1d706b2af..7b47c367a 100644 --- a/tests/device_tests/test_msg_nem_signtx_multisig.py +++ b/tests/device_tests/test_msg_nem_signtx_multisig.py @@ -19,7 +19,7 @@ import pytest from trezorlib import nem from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 # assertion data from T1 diff --git a/tests/device_tests/test_msg_nem_signtx_others.py b/tests/device_tests/test_msg_nem_signtx_others.py index 2e57b6124..14077f17b 100644 --- a/tests/device_tests/test_msg_nem_signtx_others.py +++ b/tests/device_tests/test_msg_nem_signtx_others.py @@ -19,7 +19,7 @@ import pytest from trezorlib import nem from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 # assertion data from T1 diff --git a/tests/device_tests/test_msg_nem_signtx_transfers.py b/tests/device_tests/test_msg_nem_signtx_transfers.py index 27463c056..222f0e05f 100644 --- a/tests/device_tests/test_msg_nem_signtx_transfers.py +++ b/tests/device_tests/test_msg_nem_signtx_transfers.py @@ -19,7 +19,7 @@ import pytest from trezorlib import messages as proto, nem from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 # assertion data from T1 diff --git a/tests/device_tests/test_msg_recoverydevice.py b/tests/device_tests/test_msg_recoverydevice.py index 2232f152d..6861c5700 100644 --- a/tests/device_tests/test_msg_recoverydevice.py +++ b/tests/device_tests/test_msg_recoverydevice.py @@ -18,7 +18,7 @@ import pytest from trezorlib import device, messages as proto -from .common import MNEMONIC12 +from ..common import MNEMONIC12 PIN4 = "1234" PIN6 = "789456" diff --git a/tests/device_tests/test_msg_recoverydevice_dryrun.py b/tests/device_tests/test_msg_recoverydevice_dryrun.py index 4eb1b15f1..f651ac420 100644 --- a/tests/device_tests/test_msg_recoverydevice_dryrun.py +++ b/tests/device_tests/test_msg_recoverydevice_dryrun.py @@ -18,7 +18,7 @@ import pytest from trezorlib import messages as proto -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.skip_t2 diff --git a/tests/device_tests/test_msg_recoverydevice_shamir.py b/tests/device_tests/test_msg_recoverydevice_shamir.py index c89abd199..617c0d57b 100644 --- a/tests/device_tests/test_msg_recoverydevice_shamir.py +++ b/tests/device_tests/test_msg_recoverydevice_shamir.py @@ -18,7 +18,7 @@ import pytest from trezorlib import device, exceptions, messages -from .common import MNEMONIC_SHAMIR_20_3of6, recovery_enter_shares +from ..common import MNEMONIC_SHAMIR_20_3of6, recovery_enter_shares pytestmark = pytest.mark.skip_t1 diff --git a/tests/device_tests/test_msg_recoverydevice_shamir_dryrun.py b/tests/device_tests/test_msg_recoverydevice_shamir_dryrun.py index af178daf2..ae28e0d86 100644 --- a/tests/device_tests/test_msg_recoverydevice_shamir_dryrun.py +++ b/tests/device_tests/test_msg_recoverydevice_shamir_dryrun.py @@ -19,7 +19,7 @@ import pytest from trezorlib import device, messages from trezorlib.exceptions import TrezorFailure -from .common import recovery_enter_shares +from ..common import recovery_enter_shares pytestmark = pytest.mark.skip_t1 diff --git a/tests/device_tests/test_msg_recoverydevice_supershamir.py b/tests/device_tests/test_msg_recoverydevice_supershamir.py index 90c20c2ad..410b6858d 100644 --- a/tests/device_tests/test_msg_recoverydevice_supershamir.py +++ b/tests/device_tests/test_msg_recoverydevice_supershamir.py @@ -18,7 +18,7 @@ import pytest from trezorlib import device, exceptions, messages -from .common import MNEMONIC_SHAMIR_20_2of3_2of3_GROUPS, recovery_enter_shares +from ..common import MNEMONIC_SHAMIR_20_2of3_2of3_GROUPS, recovery_enter_shares pytestmark = pytest.mark.skip_t1 diff --git a/tests/device_tests/test_msg_recoverydevice_supershamir_dryrun.py b/tests/device_tests/test_msg_recoverydevice_supershamir_dryrun.py index 89a834291..5c9d8c13d 100644 --- a/tests/device_tests/test_msg_recoverydevice_supershamir_dryrun.py +++ b/tests/device_tests/test_msg_recoverydevice_supershamir_dryrun.py @@ -19,7 +19,7 @@ import pytest from trezorlib import device, messages from trezorlib.exceptions import TrezorFailure -from .common import MNEMONIC_SHAMIR_20_2of3_2of3_GROUPS, recovery_enter_shares +from ..common import MNEMONIC_SHAMIR_20_2of3_2of3_GROUPS, recovery_enter_shares pytestmark = pytest.mark.skip_t1 diff --git a/tests/device_tests/test_msg_recoverydevice_t2.py b/tests/device_tests/test_msg_recoverydevice_t2.py index 39ec03054..0a9942828 100644 --- a/tests/device_tests/test_msg_recoverydevice_t2.py +++ b/tests/device_tests/test_msg_recoverydevice_t2.py @@ -18,7 +18,7 @@ import pytest from trezorlib import device, messages as proto -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.skip_t1 diff --git a/tests/device_tests/test_msg_resetdevice.py b/tests/device_tests/test_msg_resetdevice.py index 42d49a49c..7cba9cdb0 100644 --- a/tests/device_tests/test_msg_resetdevice.py +++ b/tests/device_tests/test_msg_resetdevice.py @@ -19,7 +19,7 @@ from mnemonic import Mnemonic from trezorlib import device, messages as proto -from .common import generate_entropy +from ..common import generate_entropy @pytest.mark.skip_t2 diff --git a/tests/device_tests/test_msg_resetdevice_shamir.py b/tests/device_tests/test_msg_resetdevice_shamir.py index 07a558e47..637d8a336 100644 --- a/tests/device_tests/test_msg_resetdevice_shamir.py +++ b/tests/device_tests/test_msg_resetdevice_shamir.py @@ -24,7 +24,7 @@ from shamir_mnemonic import MnemonicError from trezorlib import device, messages as proto from trezorlib.messages import ButtonRequestType as B, ResetDeviceBackupType -from .common import click_through, generate_entropy, read_and_confirm_mnemonic +from ..common import click_through, generate_entropy, read_and_confirm_mnemonic EXTERNAL_ENTROPY = b"zlutoucky kun upel divoke ody" * 2 diff --git a/tests/device_tests/test_msg_resetdevice_skipbackup.py b/tests/device_tests/test_msg_resetdevice_skipbackup.py index 2ee5e4876..a50455d2c 100644 --- a/tests/device_tests/test_msg_resetdevice_skipbackup.py +++ b/tests/device_tests/test_msg_resetdevice_skipbackup.py @@ -19,7 +19,7 @@ from mnemonic import Mnemonic from trezorlib import messages as proto -from .common import generate_entropy +from ..common import generate_entropy @pytest.mark.skip_t2 diff --git a/tests/device_tests/test_msg_resetdevice_supershamir.py b/tests/device_tests/test_msg_resetdevice_supershamir.py index 44db92162..460427249 100644 --- a/tests/device_tests/test_msg_resetdevice_supershamir.py +++ b/tests/device_tests/test_msg_resetdevice_supershamir.py @@ -22,7 +22,7 @@ import shamir_mnemonic as shamir from trezorlib import device, messages as proto from trezorlib.messages import ButtonRequestType as B, ResetDeviceBackupType -from .common import click_through, generate_entropy, read_and_confirm_mnemonic +from ..common import click_through, generate_entropy, read_and_confirm_mnemonic EXTERNAL_ENTROPY = b"zlutoucky kun upel divoke ody" * 2 diff --git a/tests/device_tests/test_msg_resetdevice_t2.py b/tests/device_tests/test_msg_resetdevice_t2.py index 8e5f361b4..e301c28ec 100644 --- a/tests/device_tests/test_msg_resetdevice_t2.py +++ b/tests/device_tests/test_msg_resetdevice_t2.py @@ -22,7 +22,7 @@ from mnemonic import Mnemonic from trezorlib import device, messages as proto from trezorlib.messages import ButtonRequestType as B -from .common import ( +from ..common import ( MNEMONIC12, click_through, generate_entropy, diff --git a/tests/device_tests/test_msg_signidentity.py b/tests/device_tests/test_msg_signidentity.py index eee698f92..320d1de6d 100644 --- a/tests/device_tests/test_msg_signidentity.py +++ b/tests/device_tests/test_msg_signidentity.py @@ -21,7 +21,7 @@ import pytest from trezorlib import messages as proto, misc from trezorlib.tools import H_ -from .common import MNEMONIC12 +from ..common import MNEMONIC12 def check_path(identity): diff --git a/tests/device_tests/test_msg_signmessage.py b/tests/device_tests/test_msg_signmessage.py index b009c8d90..c438773e6 100644 --- a/tests/device_tests/test_msg_signmessage.py +++ b/tests/device_tests/test_msg_signmessage.py @@ -21,7 +21,7 @@ import pytest from trezorlib import btc from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 class TestMsgSignmessage: diff --git a/tests/device_tests/test_msg_signmessage_decred.py b/tests/device_tests/test_msg_signmessage_decred.py index a83a6dd53..ae43ad366 100644 --- a/tests/device_tests/test_msg_signmessage_decred.py +++ b/tests/device_tests/test_msg_signmessage_decred.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_signmessage_segwit.py b/tests/device_tests/test_msg_signmessage_segwit.py index bcd48d467..69948dcbd 100644 --- a/tests/device_tests/test_msg_signmessage_segwit.py +++ b/tests/device_tests/test_msg_signmessage_segwit.py @@ -21,7 +21,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 class TestMsgSignmessageSegwit: diff --git a/tests/device_tests/test_msg_signmessage_segwit_native.py b/tests/device_tests/test_msg_signmessage_segwit_native.py index d05ff72f8..b50493a34 100644 --- a/tests/device_tests/test_msg_signmessage_segwit_native.py +++ b/tests/device_tests/test_msg_signmessage_segwit_native.py @@ -21,7 +21,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 class TestMsgSignmessageSegwitNative: diff --git a/tests/device_tests/test_msg_signtx.py b/tests/device_tests/test_msg_signtx.py index 63cbc89b1..22c2cca28 100644 --- a/tests/device_tests/test_msg_signtx.py +++ b/tests/device_tests/test_msg_signtx.py @@ -19,8 +19,8 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import H_, CallException, btc_hash, parse_path -from .common import MNEMONIC12 -from .tx_cache import tx_cache +from ..common import MNEMONIC12 +from ..tx_cache import tx_cache TXHASH_157041 = bytes.fromhex( "1570416eb4302cf52979afd5e6909e37d8fdd874301f7cc87e547e509cb1caa6" diff --git a/tests/device_tests/test_msg_signtx_bcash.py b/tests/device_tests/test_msg_signtx_bcash.py index 56a44ee47..3411d2233 100644 --- a/tests/device_tests/test_msg_signtx_bcash.py +++ b/tests/device_tests/test_msg_signtx_bcash.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import H_, CallException, parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TX_API = tx_cache("Bcash") diff --git a/tests/device_tests/test_msg_signtx_bgold.py b/tests/device_tests/test_msg_signtx_bgold.py index f40b8176f..a7f6a88ca 100644 --- a/tests/device_tests/test_msg_signtx_bgold.py +++ b/tests/device_tests/test_msg_signtx_bgold.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import H_, CallException, parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TX_API = tx_cache("Bgold") diff --git a/tests/device_tests/test_msg_signtx_capricoin.py b/tests/device_tests/test_msg_signtx_capricoin.py index 23d62f075..20bd4f7d1 100644 --- a/tests/device_tests/test_msg_signtx_capricoin.py +++ b/tests/device_tests/test_msg_signtx_capricoin.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages from trezorlib.tools import parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TXHASH_3bf506 = bytes.fromhex( "3bf506c81ce84eda891679ddc797d162c17c60b15d6c0ac23be5e31369e7235f" diff --git a/tests/device_tests/test_msg_signtx_dash.py b/tests/device_tests/test_msg_signtx_dash.py index 65b3ad0c7..f87981281 100644 --- a/tests/device_tests/test_msg_signtx_dash.py +++ b/tests/device_tests/test_msg_signtx_dash.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TX_API = tx_cache("Dash") diff --git a/tests/device_tests/test_msg_signtx_decred.py b/tests/device_tests/test_msg_signtx_decred.py index 057c94540..18595489e 100644 --- a/tests/device_tests/test_msg_signtx_decred.py +++ b/tests/device_tests/test_msg_signtx_decred.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TX_API = tx_cache("Decred Testnet") diff --git a/tests/device_tests/test_msg_signtx_grs.py b/tests/device_tests/test_msg_signtx_grs.py index 9f1bf48b9..73ee11d43 100644 --- a/tests/device_tests/test_msg_signtx_grs.py +++ b/tests/device_tests/test_msg_signtx_grs.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TX_API = tx_cache("Groestlcoin") diff --git a/tests/device_tests/test_msg_signtx_komodo.py b/tests/device_tests/test_msg_signtx_komodo.py index 75e599dc6..c7594ee73 100644 --- a/tests/device_tests/test_msg_signtx_komodo.py +++ b/tests/device_tests/test_msg_signtx_komodo.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache # KMD has no usable backends, use cached TX only TX_API = tx_cache("Komodo", allow_fetch=False) diff --git a/tests/device_tests/test_msg_signtx_segwit.py b/tests/device_tests/test_msg_signtx_segwit.py index a7b1a5733..80bfaba5d 100644 --- a/tests/device_tests/test_msg_signtx_segwit.py +++ b/tests/device_tests/test_msg_signtx_segwit.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import H_, CallException, parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TX_API = tx_cache("Testnet") diff --git a/tests/device_tests/test_msg_signtx_segwit_native.py b/tests/device_tests/test_msg_signtx_segwit_native.py index 4569f2be2..3426de8f8 100644 --- a/tests/device_tests/test_msg_signtx_segwit_native.py +++ b/tests/device_tests/test_msg_signtx_segwit_native.py @@ -18,7 +18,7 @@ from trezorlib import btc, messages as proto from trezorlib.ckd_public import deserialize from trezorlib.tools import H_, parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TX_API = tx_cache("Testnet") diff --git a/tests/device_tests/test_msg_signtx_zcash.py b/tests/device_tests/test_msg_signtx_zcash.py index 8168f6022..e063c3e93 100644 --- a/tests/device_tests/test_msg_signtx_zcash.py +++ b/tests/device_tests/test_msg_signtx_zcash.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TX_API = tx_cache("Zcash Testnet") diff --git a/tests/device_tests/test_msg_stellar_get_address.py b/tests/device_tests/test_msg_stellar_get_address.py index ff6fdbe21..19268538b 100644 --- a/tests/device_tests/test_msg_stellar_get_address.py +++ b/tests/device_tests/test_msg_stellar_get_address.py @@ -19,7 +19,7 @@ import pytest from trezorlib import messages as proto, stellar from trezorlib.tools import CallException, parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_msg_stellar_sign_transaction.py b/tests/device_tests/test_msg_stellar_sign_transaction.py index 9f03d7a15..b16bb1bdd 100644 --- a/tests/device_tests/test_msg_stellar_sign_transaction.py +++ b/tests/device_tests/test_msg_stellar_sign_transaction.py @@ -53,7 +53,7 @@ import pytest from trezorlib import messages as proto, stellar from trezorlib.tools import parse_path -from .common import MNEMONIC12 +from ..common import MNEMONIC12 @pytest.mark.altcoin diff --git a/tests/device_tests/test_multisig.py b/tests/device_tests/test_multisig.py index 6cc55183e..75f28a294 100644 --- a/tests/device_tests/test_multisig.py +++ b/tests/device_tests/test_multisig.py @@ -19,8 +19,8 @@ import pytest from trezorlib import btc, ckd_public as bip32, messages as proto from trezorlib.tools import CallException, parse_path -from .common import MNEMONIC12 -from .tx_cache import tx_cache +from ..common import MNEMONIC12 +from ..tx_cache import tx_cache TX_API = tx_cache("Bitcoin") diff --git a/tests/device_tests/test_multisig_change.py b/tests/device_tests/test_multisig_change.py index a150f1af7..cd76cc6c0 100644 --- a/tests/device_tests/test_multisig_change.py +++ b/tests/device_tests/test_multisig_change.py @@ -19,8 +19,8 @@ import pytest from trezorlib import btc, ckd_public as bip32, messages as proto from trezorlib.tools import H_, parse_path -from .common import MNEMONIC12 -from .tx_cache import tx_cache +from ..common import MNEMONIC12 +from ..tx_cache import tx_cache TX_API = tx_cache("Testnet") diff --git a/tests/device_tests/test_op_return.py b/tests/device_tests/test_op_return.py index daa545230..4062e7325 100644 --- a/tests/device_tests/test_op_return.py +++ b/tests/device_tests/test_op_return.py @@ -19,7 +19,7 @@ import pytest from trezorlib import btc, messages as proto from trezorlib.tools import CallException, parse_path -from .tx_cache import tx_cache +from ..tx_cache import tx_cache TX_API = tx_cache("Bitcoin") diff --git a/tests/device_tests/test_protection_levels.py b/tests/device_tests/test_protection_levels.py index e9c543d1a..b99e8704a 100644 --- a/tests/device_tests/test_protection_levels.py +++ b/tests/device_tests/test_protection_levels.py @@ -19,8 +19,8 @@ import pytest from trezorlib import btc, debuglink, device, messages as proto, misc from trezorlib.exceptions import TrezorFailure -from .common import MNEMONIC12 -from .tx_cache import tx_cache +from ..common import MNEMONIC12 +from ..tx_cache import tx_cache TXHASH_d5f65e = bytes.fromhex( "d5f65ee80147b4bcc70b75e4bbf2d7382021b871bd8867ef8fa525ef50864882" diff --git a/tests/device_tests/test_shamir_passphrase.py b/tests/device_tests/test_shamir_passphrase.py index 5d1829687..f4de40910 100644 --- a/tests/device_tests/test_shamir_passphrase.py +++ b/tests/device_tests/test_shamir_passphrase.py @@ -18,7 +18,7 @@ import pytest from trezorlib import btc -from .common import MNEMONIC_SHAMIR_20_3of6 +from ..common import MNEMONIC_SHAMIR_20_3of6 @pytest.mark.setup_client(mnemonic=MNEMONIC_SHAMIR_20_3of6, passphrase=True) diff --git a/tests/device_tests/test_shamir_reset_recovery.py b/tests/device_tests/test_shamir_reset_recovery.py index 1ea0c5345..1db1ac9fa 100644 --- a/tests/device_tests/test_shamir_reset_recovery.py +++ b/tests/device_tests/test_shamir_reset_recovery.py @@ -22,7 +22,7 @@ from trezorlib import btc, device, messages from trezorlib.messages import ButtonRequestType as B, ResetDeviceBackupType from trezorlib.tools import parse_path -from .common import click_through, read_and_confirm_mnemonic, recovery_enter_shares +from ..common import click_through, read_and_confirm_mnemonic, recovery_enter_shares @pytest.mark.skip_t1 diff --git a/tests/device_tests/test_shamir_reset_recovery_groups.py b/tests/device_tests/test_shamir_reset_recovery_groups.py index 60eb2cb4b..4f1821c69 100644 --- a/tests/device_tests/test_shamir_reset_recovery_groups.py +++ b/tests/device_tests/test_shamir_reset_recovery_groups.py @@ -20,7 +20,7 @@ from trezorlib import btc, device, messages from trezorlib.messages import ButtonRequestType as B, ResetDeviceBackupType from trezorlib.tools import parse_path -from .common import click_through, read_and_confirm_mnemonic, recovery_enter_shares +from ..common import click_through, read_and_confirm_mnemonic, recovery_enter_shares @pytest.mark.skip_t1 diff --git a/tests/device_tests/test_zerosig.py b/tests/device_tests/test_zerosig.py index a566a95ba..dbf6e4a0d 100644 --- a/tests/device_tests/test_zerosig.py +++ b/tests/device_tests/test_zerosig.py @@ -18,8 +18,8 @@ import pytest from trezorlib import btc, messages as proto -from .common import MNEMONIC12 -from .tx_cache import tx_cache +from ..common import MNEMONIC12 +from ..tx_cache import tx_cache TXHASH_d5f65e = bytes.fromhex( "d5f65ee80147b4bcc70b75e4bbf2d7382021b871bd8867ef8fa525ef50864882"