mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-06 12:51:21 +00:00
tests: fix recovery device tests due to additional screen
This commit is contained in:
parent
4fbac3ec63
commit
daa473c34b
@ -76,6 +76,11 @@ class TestMsgRecoveryDeviceShamir(TrezorTest):
|
||||
self.client.debug.press_yes()
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
|
||||
# Confirm success
|
||||
assert isinstance(ret, proto.ButtonRequest)
|
||||
self.client.debug.press_yes()
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
|
||||
# Workflow succesfully ended
|
||||
assert ret == proto.Success(message="Device recovered")
|
||||
|
||||
@ -162,6 +167,11 @@ class TestMsgRecoveryDeviceShamir(TrezorTest):
|
||||
self.client.debug.input("654")
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
|
||||
# Confirm success
|
||||
assert isinstance(ret, proto.ButtonRequest)
|
||||
self.client.debug.press_yes()
|
||||
ret = self.client.call_raw(proto.ButtonAck())
|
||||
|
||||
# Workflow succesfully ended
|
||||
assert ret == proto.Success(message="Device recovered")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user