mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-11 16:00:57 +00:00
tests: update SD card test
This commit is contained in:
parent
3a71a5a05c
commit
a978435819
@ -102,12 +102,8 @@ def test_sd_protect_unlock(client):
|
||||
client.debug.input("1234")
|
||||
|
||||
yield # SD card problem
|
||||
assert "SD card problem" in client.debug.wait_layout().text
|
||||
client.debug.press_yes() # retry
|
||||
|
||||
yield # still SD card problem
|
||||
assert "SD card problem" in client.debug.wait_layout().text
|
||||
client.debug.press_no() # do not retry
|
||||
assert "Wrong SD card" in client.debug.wait_layout().text
|
||||
client.debug.press_no() # close
|
||||
|
||||
with client, pytest.raises(TrezorFailure) as e:
|
||||
client.set_input_flow(input_flow_change_pin_format)
|
||||
|
@ -384,7 +384,7 @@
|
||||
"test_reset_backup.py::test_skip_backup_msg[2-backup_flow_slip39_advanced]": "25a4e8a2ca91518b481538c7c9e70e1769f1aa26c85455bfaadf33c47ae185c2",
|
||||
"test_sdcard.py::test_sd_format": "6bb7486932a5d38cdbb9b1368ee92aca3fad384115c744feadfade80c1605dd8",
|
||||
"test_sdcard.py::test_sd_no_format": "f47e897caee95cf98c1b4506732825f853c4b8afcdc2713e38e3b4055973c9ac",
|
||||
"test_sdcard.py::test_sd_protect_unlock": "23fdb2acb8d19edcca95d90512d53aea6c9d42d8bfb8712af5f7f0ef9fbed72d",
|
||||
"test_sdcard.py::test_sd_protect_unlock": "621294fce5df0a5f381450647b3a45d71696cca0c46bec368a0fea675709956d",
|
||||
"test_u2f_counter.py::test_u2f_counter": "7d96a4d262b9d8a2c1158ac1e5f0f7b2c3ed5f2ba9d6235a014320313f9488fe",
|
||||
"test_zerosig.py-test_one_zero_signature": "4099761c664ac57e9506abeb6a52cf898297c0dd592e2a394d008c5db7e62356",
|
||||
"test_zerosig.py-test_two_zero_signature": "46e0f1749af632a75a6c6ccc2deb4591a925428db000c52008ecb940ec673a6f"
|
||||
|
Loading…
Reference in New Issue
Block a user