fix(vision): aggancia i test alla suite di default, skip pulito su 3.11

testpaths include src/vision/tests: prima uv run pytest (365 test) non ci
passava mai. Niente conftest.py: un pytest.importorskip a livello di modulo
in conftest.py rompe l'intera sessione, perche' Skipped eredita da
BaseException e _importconftest cattura solo Exception (verificato con
traceback, provato sia su src/vision/tests sia su src/vision come radice).
La guardia sta invece in cima a test_runner.py, prima di numpy (assente
anch'esso su 3.11) - idioma standard di pytest, cattura pulita a livello di
collection. README aggiornato con il comando reale per farli girare.
This commit is contained in:
2026-08-16 17:39:57 +02:00
parent c5f3366dd1
commit 0a3d1f5222
3 changed files with 35 additions and 2 deletions
+1 -1
View File
@@ -87,4 +87,4 @@ vs-pm2d = { path = "vendor/visionsuite/packages/vs-pm2d", editable = true }
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["src/backend/tests", "src/frontend/flask_app/tests"]
testpaths = ["src/backend/tests", "src/frontend/flask_app/tests", "src/vision/tests"]