mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 23:38:09 +00:00
tests: make mnemonics top-level
This commit is contained in:
parent
4b2235ab78
commit
eee02dd3f8
@ -19,16 +19,21 @@ from trezorlib.messages.PassphraseSourceType import HOST as PASSPHRASE_ON_HOST
|
|||||||
|
|
||||||
from . import conftest
|
from . import conftest
|
||||||
|
|
||||||
|
|
||||||
class TrezorTest:
|
|
||||||
# fmt: off
|
# fmt: off
|
||||||
# 1 2 3 4 5 6 7 8 9 10 11 12
|
# 1 2 3 4 5 6 7 8 9 10 11 12
|
||||||
mnemonic12 = "alcohol woman abuse must during monitor noble actual mixed trade anger aisle"
|
MNEMONIC12 = "alcohol woman abuse must during monitor noble actual mixed trade anger aisle"
|
||||||
mnemonic18 = "owner little vague addict embark decide pink prosper true fork panda embody mixture exchange choose canoe electric jewel"
|
MNEMONIC18 = "owner little vague addict embark decide pink prosper true fork panda embody mixture exchange choose canoe electric jewel"
|
||||||
mnemonic24 = "dignity pass list indicate nasty swamp pool script soccer toe leaf photo multiply desk host tomato cradle drill spread actor shine dismiss champion exotic"
|
MNEMONIC24 = "dignity pass list indicate nasty swamp pool script soccer toe leaf photo multiply desk host tomato cradle drill spread actor shine dismiss champion exotic"
|
||||||
mnemonic_all = " ".join(["all"] * 12)
|
MNEMONIC_ALLALLALL = " ".join(["all"] * 12)
|
||||||
# fmt: on
|
# fmt: on
|
||||||
|
|
||||||
|
|
||||||
|
class TrezorTest:
|
||||||
|
mnemonic12 = MNEMONIC12
|
||||||
|
mnemonic18 = MNEMONIC18
|
||||||
|
mnemonic24 = MNEMONIC24
|
||||||
|
mnemonic_all = MNEMONIC_ALLALLALL
|
||||||
|
|
||||||
pin4 = "1234"
|
pin4 = "1234"
|
||||||
pin6 = "789456"
|
pin6 = "789456"
|
||||||
pin8 = "45678978"
|
pin8 = "45678978"
|
||||||
|
Loading…
Reference in New Issue
Block a user