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:
parent
301190db4c
commit
d6c0e7e203
@ -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 =
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user