1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-21 23:18:13 +00:00

chore(tests): organize device tests into folders

This commit is contained in:
grdddj 2021-11-10 21:24:45 +01:00 committed by matejcik
parent 6c8e6dcc08
commit 782f868717
37 changed files with 23 additions and 23 deletions

View File

View File

View File

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

View File

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

View File

View File

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

View File

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

View File

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

View File

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

View File

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

View File

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

View File

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

View File

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

View File