1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00

fix test_protection_levels

This commit is contained in:
Pavol Rusnak 2016-06-30 15:19:44 +02:00
parent 6aaa5928e2
commit c972d396ae
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -118,7 +118,7 @@ class TestProtectionLevels(common.TrezorTest):
def test_verify_message(self): def test_verify_message(self):
with self.client: with self.client:
self.setup_mnemonic_pin_passphrase() self.setup_mnemonic_pin_passphrase()
self.client.set_expected_responses([proto.Success()]) self.client.set_expected_responses([proto.ButtonRequest(),proto.Success()])
self.client.verify_message( self.client.verify_message(
'14LmW5k4ssUrtbAB4255zdqv3b4w1TuX9e', '14LmW5k4ssUrtbAB4255zdqv3b4w1TuX9e',
binascii.unhexlify('209e23edf0e4e47ff1dec27f32cd78c50e74ef018ee8a6adf35ae17c7a9b0dd96f48b493fd7dbab03efb6f439c6383c9523b3bbc5f1a7d158a6af90ab154e9be80'), binascii.unhexlify('209e23edf0e4e47ff1dec27f32cd78c50e74ef018ee8a6adf35ae17c7a9b0dd96f48b493fd7dbab03efb6f439c6383c9523b3bbc5f1a7d158a6af90ab154e9be80'),