mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-14 11:39:03 +00:00
tests: reduce test_protect_call.py duration from 26 seconds to 5
This commit is contained in:
parent
6074903d6b
commit
045c078a50
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user