chore(tests): organize device tests into folders

pull/1973/head
grdddj 3 years ago committed by matejcik
parent 6c8e6dcc08
commit 782f868717

@ -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

@ -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")

@ -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

@ -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

@ -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

@ -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

@ -19,7 +19,7 @@ import pytest
from trezorlib import nem
from trezorlib.tools import parse_path
from ..common import MNEMONIC12
from ...common import MNEMONIC12
ADDRESS_N = parse_path("m/44'/1'/0'/0'/0'")

@ -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

@ -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

@ -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

@ -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"

@ -18,8 +18,8 @@ import pytest
from trezorlib import device, exceptions, messages
from .. import buttons
from ..common import MNEMONIC12
from ... import buttons
from ...common import MNEMONIC12
def do_recover_legacy(client, mnemonic, **kwargs):

@ -18,7 +18,7 @@ import pytest
from trezorlib import device, exceptions, messages
from ..common import MNEMONIC12
from ...common import MNEMONIC12
pytestmark = pytest.mark.skip_t1

@ -18,7 +18,7 @@ import pytest
from trezorlib import device, exceptions, messages
from ..common import (
from ...common import (
MNEMONIC_SLIP39_ADVANCED_20,
MNEMONIC_SLIP39_ADVANCED_33,
recovery_enter_shares,

@ -19,7 +19,7 @@ import pytest
from trezorlib import device, messages
from trezorlib.exceptions import TrezorFailure
from ..common import MNEMONIC_SLIP39_ADVANCED_20, recovery_enter_shares
from ...common import MNEMONIC_SLIP39_ADVANCED_20, recovery_enter_shares
pytestmark = pytest.mark.skip_t1

@ -18,7 +18,7 @@ import pytest
from trezorlib import device, exceptions, messages
from ..common import (
from ...common import (
MNEMONIC_SLIP39_BASIC_20_3of6,
MNEMONIC_SLIP39_BASIC_20_3of6_SECRET,
recovery_enter_shares,

@ -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

@ -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
def reset_device(client, strength):

@ -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

@ -23,7 +23,7 @@ from trezorlib import device, messages as proto
from trezorlib.exceptions import TrezorFailure
from trezorlib.messages import ButtonRequestType as B
from ..common import (
from ...common import (
MNEMONIC12,
click_through,
generate_entropy,

@ -23,7 +23,7 @@ from trezorlib import device, messages as proto
from trezorlib.exceptions import TrezorFailure
from trezorlib.messages import BackupType, ButtonRequestType as B
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

@ -24,7 +24,7 @@ from trezorlib import device, messages as proto
from trezorlib.exceptions import TrezorFailure
from trezorlib.messages import BackupType, ButtonRequestType as B
from ..common import (
from ...common import (
EXTERNAL_ENTROPY,
click_through,
generate_entropy,
Loading…
Cancel
Save