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]>
3 lines
45 B
TOML
3 lines
45 B
TOML
[tool.pytest.ini_options]
|
|
pythonpath = ["."]
|