1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 07:18:09 +00:00

tests: make mnemonics top-level

This commit is contained in:
matejcik 2019-08-27 14:48:16 +02:00
parent 4b2235ab78
commit eee02dd3f8

View File

@ -19,15 +19,20 @@ from trezorlib.messages.PassphraseSourceType import HOST as PASSPHRASE_ON_HOST
from . import conftest from . import conftest
# fmt: off
# 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"
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"
MNEMONIC_ALLALLALL = " ".join(["all"] * 12)
# fmt: on
class TrezorTest: class TrezorTest:
# fmt: off mnemonic12 = MNEMONIC12
# 1 2 3 4 5 6 7 8 9 10 11 12 mnemonic18 = MNEMONIC18
mnemonic12 = "alcohol woman abuse must during monitor noble actual mixed trade anger aisle" mnemonic24 = MNEMONIC24
mnemonic18 = "owner little vague addict embark decide pink prosper true fork panda embody mixture exchange choose canoe electric jewel" mnemonic_all = MNEMONIC_ALLALLALL
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)
# fmt: on
pin4 = "1234" pin4 = "1234"
pin6 = "789456" pin6 = "789456"