12 lines
575 B
INI
12 lines
575 B
INI
[pytest]
|
|
# services/api's modules import each other as top-level packages
|
|
# (`from workers.pipeline import run_job`, `from sources.connectors import ...`)
|
|
# relative to this directory — orchestrator/main.py does the same. Running
|
|
# pytest from services/api (or with this file as rootdir) needs that on
|
|
# sys.path; pytest 8's rootdir-relative testpaths + this ini being IN
|
|
# services/api handles that via pytest's automatic rootdir insertion for
|
|
# rootdir-relative imports when there is no conftest.py package structure.
|
|
testpaths = tests
|
|
asyncio_mode = auto
|
|
pythonpath = .
|