Compare commits

...

1 Commits

Author SHA1 Message Date
Alexander Whitestone
25be8df4c5 fix(pytest): restrict test discovery to tests/ directory
Some checks failed
Smoke Test / smoke (pull_request) Failing after 17s
Root-level pytest --collect-only crashed because scripts/ contained
operational *_test.py files (local_timmy_proof_test.py,
local_decision_session_test.py) that executed code at import time.

Fix: add pyproject.toml with testpaths = ["tests"] and
python_files = ["test_*.py"] so pytest only collects from tests/.

Closes #607
2026-04-13 18:46:30 -04:00

3
pyproject.toml Normal file
View File

@@ -0,0 +1,3 @@
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]