1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 12:08:59 +00:00

Unit Test: PIN protection timeout

Don't expect any minimum timeout on the first PIN entry.
This commit is contained in:
Jochen Hoenicke 2016-08-30 12:55:18 +02:00
parent 195b7e47e1
commit ad5b693ffa

View File

@ -99,7 +99,7 @@ class TestProtectCall(common.TrezorTest):
def test_backoff(attempts, start):
if attempts <= 1:
expected = 0.2
expected = 0
else:
expected = (2 ** (attempts - 2))
got = time.time() - start