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

device_tests: Fix test_protect_call

This commit is contained in:
Saleem Rashid 2017-12-16 21:37:21 +00:00 committed by Pavol Rusnak
parent 90c49e3386
commit fd32c3aa84

View File

@ -121,7 +121,7 @@ class TestProtectCall(common.TrezorTest):
if attempts <= 1:
expected = 0
else:
expected = (2 ** (attempts - 2))
expected = (2 ** (attempts - 1)) - 1
got = time.time() - start
msg = "Pin delay expected to be at least %s seconds, got %s" % (expected, got)