fix pytest module discovery in CI

CI invokes the pytest console script directly (pytest tests/ -v), which
unlike `python -m pytest` does not add the repo root to sys.path. That
broke imports of the top-level data_processing/nightscout_client
modules from the test files. Add pythonpath = ["."] so it works
regardless of invocation style.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
2026-07-25 21:09:48 +02:00
co-authored by Claude Sonnet 5
parent e805dc9194
commit 566a817365
+2
View File
@@ -0,0 +1,2 @@
[tool.pytest.ini_options]
pythonpath = ["."]