8 lines
355 B
INI
8 lines
355 B
INI
[pytest]
|
|
# `pythonpath` option (pytest 7+) handles what conftest.py used to do via
|
|
# sys.path.insert. Declarative config is preferred over mutating sys.path at
|
|
# import time — it keeps the test collection side-effect free and survives
|
|
# invocation from any cwd (e.g. `pytest tests/python/` vs a repo-root run).
|
|
pythonpath = src
|
|
testpaths = tests/python
|