mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-12 08:20:56 +00:00
tests: remove explicit timeouts from test suite
This commit is contained in:
parent
30a267c83d
commit
5b7d11e4ee
@ -33,7 +33,6 @@ known_first_party = trezorlib
|
|||||||
addopts = -rfE --strict --random-order
|
addopts = -rfE --strict --random-order
|
||||||
testpaths = tests crypto storage python/tests
|
testpaths = tests crypto storage python/tests
|
||||||
xfail_strict = true
|
xfail_strict = true
|
||||||
timeout = 60
|
|
||||||
|
|
||||||
[mypy]
|
[mypy]
|
||||||
mypy_path = src,mocks,mocks/generated
|
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.skip_t1
|
||||||
@pytest.mark.setup_client(uninitialized=True)
|
@pytest.mark.setup_client(uninitialized=True)
|
||||||
@pytest.mark.timeout(600)
|
@pytest.mark.slow
|
||||||
@with_mock_urandom
|
@with_mock_urandom
|
||||||
def test_reset_slip39_advanced_16of16groups_16of16shares(device_handler):
|
def test_reset_slip39_advanced_16of16groups_16of16shares(device_handler):
|
||||||
features = device_handler.features()
|
features = device_handler.features()
|
||||||
|
@ -371,7 +371,6 @@ class TestMsgSigntx:
|
|||||||
@pytest.mark.setup_client(mnemonic=MNEMONIC12)
|
@pytest.mark.setup_client(mnemonic=MNEMONIC12)
|
||||||
@pytest.mark.skip_ui
|
@pytest.mark.skip_ui
|
||||||
@pytest.mark.slow
|
@pytest.mark.slow
|
||||||
@pytest.mark.timeout(600)
|
|
||||||
def test_lots_of_inputs(self, client):
|
def test_lots_of_inputs(self, client):
|
||||||
# Tests if device implements serialization of len(inputs) correctly
|
# Tests if device implements serialization of len(inputs) correctly
|
||||||
# tx 4a7b7e0403ae5607e473949cfa03f09f2cd8b0f404bf99ce10b7303d86280bf7 : 100 UTXO for spending for unit tests
|
# tx 4a7b7e0403ae5607e473949cfa03f09f2cd8b0f404bf99ce10b7303d86280bf7 : 100 UTXO for spending for unit tests
|
||||||
@ -402,7 +401,6 @@ class TestMsgSigntx:
|
|||||||
@pytest.mark.setup_client(mnemonic=MNEMONIC12)
|
@pytest.mark.setup_client(mnemonic=MNEMONIC12)
|
||||||
@pytest.mark.skip_ui
|
@pytest.mark.skip_ui
|
||||||
@pytest.mark.slow
|
@pytest.mark.slow
|
||||||
@pytest.mark.timeout(600)
|
|
||||||
def test_lots_of_outputs(self, client):
|
def test_lots_of_outputs(self, client):
|
||||||
# Tests if device implements serialization of len(outputs) correctly
|
# 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.skip_ui
|
||||||
@pytest.mark.timeout(300)
|
|
||||||
@pytest.mark.setup_client(passphrase=True)
|
@pytest.mark.setup_client(passphrase=True)
|
||||||
def test_multiple_sessions(client):
|
def test_multiple_sessions(client):
|
||||||
# start SESSIONS_STORED sessions
|
# start SESSIONS_STORED sessions
|
||||||
@ -165,7 +164,6 @@ def test_multiple_passphrases(client):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip_ui
|
@pytest.mark.skip_ui
|
||||||
@pytest.mark.timeout(600)
|
|
||||||
@pytest.mark.slow
|
@pytest.mark.slow
|
||||||
@pytest.mark.setup_client(passphrase=True)
|
@pytest.mark.setup_client(passphrase=True)
|
||||||
def test_max_sessions_with_passphrases(client):
|
def test_max_sessions_with_passphrases(client):
|
||||||
|
Loading…
Reference in New Issue
Block a user