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

fix test_recovery_device in test_protection_levels.py

This commit is contained in:
Pavol Rusnak 2014-07-31 00:54:41 +02:00
parent c2de56eb46
commit 4f621b1da0

View File

@ -96,7 +96,7 @@ class TestProtectionLevels(common.TrezorTest):
def test_recovery_device(self): def test_recovery_device(self):
with self.client: with self.client:
self.client.set_mnemonic(self.mnemonic12) self.client.set_mnemonic(self.mnemonic12)
self.client.set_expected_responses([proto.WordRequest()] * int(12 * 1.5) + \ self.client.set_expected_responses([proto.WordRequest()] * 24 + \
[proto.Success(), [proto.Success(),
proto.Features()]) proto.Features()])
self.client.recovery_device(12, False, False, 'label', 'english') self.client.recovery_device(12, False, False, 'label', 'english')