[pytest] testpaths = tests # `tests.rights_filter.server.test_sqlite_store` is imported by sibling specs for # shared fakes, and every module under test lives in src/. Declaring both here # means bare `pytest` works; without it only `python -m pytest` did (that form # puts the CWD on sys.path as a side effect, which is easy to get wrong in CI). pythonpath = . src # Hang guard, not a performance budget. The slowest single spec (browser upload # + real analysis) runs well under a minute; this only fires when something # deadlocks, so an unattended `verify` run fails instead of hanging forever. timeout = 300 addopts = --strict-markers