mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
forgot Success
This commit is contained in:
parent
b63418c8b8
commit
8f7c8799a4
@ -34,7 +34,7 @@ class TestPing(common.TrezorTest):
|
|||||||
self.assertEqual(res, 'random data')
|
self.assertEqual(res, 'random data')
|
||||||
|
|
||||||
# pin and passphrase are cached
|
# pin and passphrase are cached
|
||||||
self.client.set_expected_responses([proto.ButtonRequest(code=proto_types.ButtonRequest_Other)])
|
self.client.set_expected_responses([proto.ButtonRequest(code=proto_types.ButtonRequest_Other),proto.Success()])
|
||||||
res = self.client.ping('random data', button_protection=True, pin_protection=True, passphrase_protection=True)
|
res = self.client.ping('random data', button_protection=True, pin_protection=True, passphrase_protection=True)
|
||||||
self.assertEqual(res, 'random data')
|
self.assertEqual(res, 'random data')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user