From 045c078a509138ed236cf42fcc5832731d70f8de Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 12 Sep 2018 20:37:12 +0200 Subject: [PATCH] tests: reduce test_protect_call.py duration from 26 seconds to 5 --- trezorlib/tests/device_tests/test_protect_call.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trezorlib/tests/device_tests/test_protect_call.py b/trezorlib/tests/device_tests/test_protect_call.py index 8656d6365..e0986b6d5 100644 --- a/trezorlib/tests/device_tests/test_protect_call.py +++ b/trezorlib/tests/device_tests/test_protect_call.py @@ -135,7 +135,7 @@ class TestProtectCall(TrezorTest): print(msg) assert got >= expected - for attempt in range(1, 6): + for attempt in range(1, 4): start = time.time() with pytest.raises(PinException): self._some_protected_call(False, True, False)