1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-30 22:19:04 +00:00

test(python): rerun tests when first response chunk is lost

Also, make sure that Python tests are using `python/setup.cfg`.

[no changelog]
This commit is contained in:
Roman Zeyde 2025-03-10 14:22:04 +02:00 committed by Roman Zeyde
parent 301190db4c
commit d6c0e7e203
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ commands =
# Smoke-test trezorctl
trezorctl --help
# Run test suite
!minimal: pytest --random-order tests
!minimal: pytest -c setup.cfg --random-order tests
[testenv:py{38,39,310,311}-click{7,80,81}]
deps =

View File

@ -36,7 +36,7 @@ per-file-ignores =
tests/*:ANN
[tool:pytest]
addopts = -rfE --strict-markers --random-order
addopts = -rfER --strict-markers --random-order --only-rerun='RuntimeError: Unexpected magic characters: 3f' --reruns=5
testpaths = tests crypto storage python/tests
xfail_strict = true
junit_family = xunit2