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:
parent
90c49e3386
commit
fd32c3aa84
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user