1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

python: fix reset device test for t1

This commit is contained in:
Pavol Rusnak 2019-08-06 11:33:45 +02:00
parent d7efdc3b44
commit 3c19e3167d
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -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())