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

add default
pull/33445/head
Maxime Desroches 8 months ago committed by GitHub
parent 3924ac587b
commit ffc089c4a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      pyproject.toml

@ -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'",

Loading…
Cancel
Save