From 8f7c8799a4d42fbf919c3b2c2d00e70f691e270c Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 17 Feb 2014 11:17:44 +0100 Subject: [PATCH] forgot Success --- tests/test_pings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pings.py b/tests/test_pings.py index 3534f5d..1fbe312 100644 --- a/tests/test_pings.py +++ b/tests/test_pings.py @@ -34,7 +34,7 @@ class TestPing(common.TrezorTest): self.assertEqual(res, 'random data') # 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) self.assertEqual(res, 'random data')