1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-23 07:58:09 +00:00

forgot Success

This commit is contained in:
Pavol Rusnak 2014-02-17 11:17:44 +01:00
parent b63418c8b8
commit 8f7c8799a4

View File

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