mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-16 03:28:09 +00:00
tests: remove unused parts of common.py
This commit is contained in:
parent
e89a913b1b
commit
5e369e057a
@ -19,9 +19,6 @@ from trezorlib.messages import ButtonRequestType as B
|
|||||||
# 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"
|
|
||||||
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
|
# fmt: on
|
||||||
|
|
||||||
MNEMONIC_SHAMIR_20_3of6 = [
|
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):
|
def generate_entropy(strength, internal_entropy, external_entropy):
|
||||||
"""
|
"""
|
||||||
strength - length of produced seed. One of 128, 192, 256
|
strength - length of produced seed. One of 128, 192, 256
|
||||||
|
Loading…
Reference in New Issue
Block a user