[tool.pytest.ini_options] # The router modules sit at the repo root rather than in a package, so the # root has to be on sys.path for `from config import ...` to resolve. Running # as `python -m pytest` happens to add the cwd and hides this; the `pytest` # console script does not. Setting it here makes both invocations work. pythonpath = ["."] testpaths = ["tests"]