Integration tests hardcode venv/bin/python path #16

Closed
opened 2026-05-09 13:18:22 +00:00 by Mark · 0 comments
Owner

The integration tests in tests/integration/test_integration.py hardcode "venv/bin/python" as the interpreter path (lines 17, 38, 69). This breaks:

  • Running tests without a venv (e.g., direct pytest calls)
  • Running in environments where the venv path differs

Fix: Use sys.executable or the PYTHON environment variable instead of a hardcoded path.

Found during batch project audit (2026-05-09).

The integration tests in `tests/integration/test_integration.py` hardcode `"venv/bin/python"` as the interpreter path (lines 17, 38, 69). This breaks: - Running tests without a venv (e.g., direct `pytest` calls) - Running in environments where the venv path differs **Fix:** Use `sys.executable` or the `PYTHON` environment variable instead of a hardcoded path. Found during batch project audit (2026-05-09).
Mark closed this issue 2026-05-13 07:14:41 +00:00
Sign in to join this conversation.
No description provided.