mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-22 13:21:03 +00:00
device_tests: Fix test_protect_call
This commit is contained in:
parent
90c49e3386
commit
fd32c3aa84
@ -121,7 +121,7 @@ class TestProtectCall(common.TrezorTest):
|
|||||||
if attempts <= 1:
|
if attempts <= 1:
|
||||||
expected = 0
|
expected = 0
|
||||||
else:
|
else:
|
||||||
expected = (2 ** (attempts - 2))
|
expected = (2 ** (attempts - 1)) - 1
|
||||||
got = time.time() - start
|
got = time.time() - start
|
||||||
|
|
||||||
msg = "Pin delay expected to be at least %s seconds, got %s" % (expected, got)
|
msg = "Pin delay expected to be at least %s seconds, got %s" % (expected, got)
|
||||||
|
Loading…
Reference in New Issue
Block a user