tests: remove explicit timeouts from test suite

pull/900/head
matejcik 4 years ago
parent 30a267c83d
commit 5b7d11e4ee

@ -33,7 +33,6 @@ known_first_party = trezorlib
addopts = -rfE --strict --random-order
testpaths = tests crypto storage python/tests
xfail_strict = true
timeout = 60
[mypy]
mypy_path = src,mocks,mocks/generated

@ -112,7 +112,7 @@ def test_reset_slip39_advanced_2of2groups_2of2shares(device_handler):
@pytest.mark.skip_t1
@pytest.mark.setup_client(uninitialized=True)
@pytest.mark.timeout(600)
@pytest.mark.slow
@with_mock_urandom
def test_reset_slip39_advanced_16of16groups_16of16shares(device_handler):
features = device_handler.features()

@ -371,7 +371,6 @@ class TestMsgSigntx:
@pytest.mark.setup_client(mnemonic=MNEMONIC12)
@pytest.mark.skip_ui
@pytest.mark.slow
@pytest.mark.timeout(600)
def test_lots_of_inputs(self, client):
# Tests if device implements serialization of len(inputs) correctly
# tx 4a7b7e0403ae5607e473949cfa03f09f2cd8b0f404bf99ce10b7303d86280bf7 : 100 UTXO for spending for unit tests
@ -402,7 +401,6 @@ class TestMsgSigntx:
@pytest.mark.setup_client(mnemonic=MNEMONIC12)
@pytest.mark.skip_ui
@pytest.mark.slow
@pytest.mark.timeout(600)
def test_lots_of_outputs(self, client):
# Tests if device implements serialization of len(outputs) correctly

@ -90,7 +90,6 @@ def test_session_with_passphrase(client):
@pytest.mark.skip_ui
@pytest.mark.timeout(300)
@pytest.mark.setup_client(passphrase=True)
def test_multiple_sessions(client):
# start SESSIONS_STORED sessions
@ -165,7 +164,6 @@ def test_multiple_passphrases(client):
@pytest.mark.skip_ui
@pytest.mark.timeout(600)
@pytest.mark.slow
@pytest.mark.setup_client(passphrase=True)
def test_max_sessions_with_passphrases(client):

Loading…
Cancel
Save