1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

tests: remove unused parts of common.py

This commit is contained in:
matejcik 2019-09-11 15:35:07 +02:00
parent e89a913b1b
commit 5e369e057a

View File

@ -19,9 +19,6 @@ from trezorlib.messages import ButtonRequestType as B
# 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
MNEMONIC_SHAMIR_20_3of6 = [
@ -38,17 +35,6 @@ MNEMONIC_SHAMIR_20_2of3_2of3_GROUPS = [
]
class TrezorTest:
mnemonic12 = MNEMONIC12
mnemonic18 = MNEMONIC18
mnemonic24 = MNEMONIC24
mnemonic_all = MNEMONIC_ALLALLALL
pin4 = "1234"
pin6 = "789456"
pin8 = "45678978"
def generate_entropy(strength, internal_entropy, external_entropy):
"""
strength - length of produced seed. One of 128, 192, 256