From ad5b693ffa3d1a90034d8a02ef41c37d4ba67712 Mon Sep 17 00:00:00 2001 From: Jochen Hoenicke Date: Tue, 30 Aug 2016 12:55:18 +0200 Subject: [PATCH] Unit Test: PIN protection timeout Don't expect any minimum timeout on the first PIN entry. --- tests/test_protect_call.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_protect_call.py b/tests/test_protect_call.py index 339e54c5d..fa64d5f0a 100644 --- a/tests/test_protect_call.py +++ b/tests/test_protect_call.py @@ -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