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

Merge pull request #69 from jhoenicke/master

Unit Test: PIN protection timeout
This commit is contained in:
Pavol Rusnak 2016-08-30 13:03:57 +02:00 committed by GitHub
commit 5fc6dc3155

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