You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python: plugins loaded with -p in pytest addopts are not in the graph #206
readPytestSettings (src/repo/adapters/python.ts) reads python_files, testpaths and pythonpath, but not addopts. A first-party plugin that addopts loads with -p is imported by pytest before collection, but nothing in the graph imports it.
python -m pytest tests/test_a.py passes and needs myplugin.py.
Expected: a change to myplugin.py selects tests/test_a.py, or falls back.
Actual:fallbackRequired: false, no affected tests, no blocker.
The same applies to pytest.ini, tox.ini and setup.cfg. A triple-quoted addopts = """...""" in pyproject.toml is also read as an empty string by the current regex.
Activity