Files
sunnypilot/conftest.py
T
2026-07-21 11:02:34 -07:00

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)]