pytest: add default fixture option for pytest-asyncio (#33442)

add default
old-commit-hash: ffc089c4a2ef4fe49996a21fb51a3e5ee60c2cc1
This commit is contained in:
Maxime Desroches 2024-09-03 15:26:07 -07:00 committed by GitHub
parent bd2b09c7b6
commit 7a5a70b6b3
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@ addopts = "--ignore=openpilot/ --ignore=opendbc/ --ignore=panda/ --ignore=rednos
cpp_files = "test_*" cpp_files = "test_*"
cpp_harness = "selfdrive/test/cpp_harness.py" cpp_harness = "selfdrive/test/cpp_harness.py"
python_files = "test_*.py" python_files = "test_*.py"
asyncio_default_fixture_loop_scope = "function"
#timeout = "30" # you get this long by default #timeout = "30" # you get this long by default
markers = [ markers = [
"slow: tests that take awhile to run and can be skipped with -m 'not slow'", "slow: tests that take awhile to run and can be skipped with -m 'not slow'",