1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +00:00

tests: fix test_protection_levels (add buttonrequest to reset workflow)

This commit is contained in:
Pavol Rusnak 2018-10-23 12:26:10 +02:00
parent ac0731300e
commit 7e9501e816
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -134,7 +134,8 @@ class TestProtectionLevels(TrezorTest):
def test_reset_device(self):
with self.client:
self.client.set_expected_responses(
[proto.EntropyRequest()]
[proto.ButtonRequest()]
+ [proto.EntropyRequest()]
+ [proto.ButtonRequest()] * 24
+ [proto.Success(), proto.Features()]
)