mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +00:00
python: fix reset device test for t1
(cherry picked from commit 3c19e3167d
)
This commit is contained in:
parent
91897089b2
commit
b86d017d3e
@ -110,10 +110,17 @@ class TestMsgResetDevice(TrezorTest):
|
||||
)
|
||||
)
|
||||
|
||||
# Do you want ... ?
|
||||
assert isinstance(ret, proto.ButtonRequest)
|
||||
self.client.debug.press_yes()
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
|
||||
# Entropy screen #1
|
||||
assert isinstance(ret, proto.ButtonRequest)
|
||||
self.client.debug.press_yes()
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
|
||||
# Entropy screen #2
|
||||
assert isinstance(ret, proto.ButtonRequest)
|
||||
self.client.debug.press_yes()
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
@ -191,10 +198,17 @@ class TestMsgResetDevice(TrezorTest):
|
||||
)
|
||||
)
|
||||
|
||||
# Do you want ... ?
|
||||
assert isinstance(ret, proto.ButtonRequest)
|
||||
self.client.debug.press_yes()
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
|
||||
# Entropy screen #1
|
||||
assert isinstance(ret, proto.ButtonRequest)
|
||||
self.client.debug.press_yes()
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
|
||||
# Entropy screen #2
|
||||
assert isinstance(ret, proto.ButtonRequest)
|
||||
self.client.debug.press_yes()
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
|
Loading…
Reference in New Issue
Block a user