mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-03-28 22:15:42 +00:00
tests: fix test_protection_levels (add buttonrequest to reset workflow)
This commit is contained in:
parent
ac0731300e
commit
7e9501e816
@ -134,7 +134,8 @@ class TestProtectionLevels(TrezorTest):
|
|||||||
def test_reset_device(self):
|
def test_reset_device(self):
|
||||||
with self.client:
|
with self.client:
|
||||||
self.client.set_expected_responses(
|
self.client.set_expected_responses(
|
||||||
[proto.EntropyRequest()]
|
[proto.ButtonRequest()]
|
||||||
|
+ [proto.EntropyRequest()]
|
||||||
+ [proto.ButtonRequest()] * 24
|
+ [proto.ButtonRequest()] * 24
|
||||||
+ [proto.Success(), proto.Features()]
|
+ [proto.Success(), proto.Features()]
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user