mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 17:38:39 +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)
|
print(msg)
|
||||||
assert got >= expected
|
assert got >= expected
|
||||||
|
|
||||||
for attempt in range(1, 6):
|
for attempt in range(1, 4):
|
||||||
start = time.time()
|
start = time.time()
|
||||||
with pytest.raises(PinException):
|
with pytest.raises(PinException):
|
||||||
self._some_protected_call(False, True, False)
|
self._some_protected_call(False, True, False)
|
||||||
|
Loading…
Reference in New Issue
Block a user