Fix pytest module discovery in CI #3

Merged
willemjan merged 1 commits from dev into main 2026-07-25 19:12:20 +00:00
1 Commits
Author SHA1 Message Date
willemjanandClaude Sonnet 5 566a817365 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]>
2026-07-25 21:09:48 +02:00