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

core/tests/resetdevice: fix

This commit is contained in:
Jan Pochyla 2019-06-25 17:47:32 +02:00
parent 240440550a
commit 9fb093053d

View File

@ -45,11 +45,6 @@ class TestMsgResetDeviceT2(TrezorTest):
assert btn_code == B.ResetDevice
self.client.debug.press_yes()
# safety warning
btn_code = yield
assert btn_code == B.ResetDevice
self.client.debug.press_yes()
# mnemonic phrases
btn_code = yield
assert btn_code == B.ResetDevice
@ -89,7 +84,6 @@ class TestMsgResetDeviceT2(TrezorTest):
proto.ButtonRequest(code=B.ResetDevice),
proto.ButtonRequest(code=B.ResetDevice),
proto.ButtonRequest(code=B.ResetDevice),
proto.ButtonRequest(code=B.ResetDevice),
proto.Success(),
proto.Features(),
]
@ -150,11 +144,6 @@ class TestMsgResetDeviceT2(TrezorTest):
assert btn_code == B.ResetDevice
self.client.debug.press_yes()
# safety warning
btn_code = yield
assert btn_code == B.ResetDevice
self.client.debug.press_yes()
# mnemonic phrases
btn_code = yield
assert btn_code == B.ResetDevice
@ -197,7 +186,6 @@ class TestMsgResetDeviceT2(TrezorTest):
proto.ButtonRequest(code=B.ResetDevice),
proto.ButtonRequest(code=B.ResetDevice),
proto.ButtonRequest(code=B.ResetDevice),
proto.ButtonRequest(code=B.ResetDevice),
proto.Success(),
proto.Features(),
]