mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-17 02:53:43 +08:00
16 lines
490 B
Python
16 lines
490 B
Python
"""Pytest runner configuration for the unittest suite."""
|
|
|
|
import os
|
|
|
|
# Heavy CI-only tests are invoked explicitly by their dedicated jobs.
|
|
collect_ignore = [
|
|
"openpilot/selfdrive/test/process_replay/test_processes.py",
|
|
"openpilot/selfdrive/test/process_replay/test_regen.py",
|
|
"openpilot/tools/sim/",
|
|
]
|
|
|
|
|
|
def pytest_collection_modifyitems(items):
|
|
if os.environ.get("SKIP_SLOW"):
|
|
items[:] = [item for item in items if not getattr(getattr(item, "cls", None), "SLOW_TEST", False)]
|