agilentics / boiler
[pytest]
# Put the repo root on sys.path so `import db` / `import app` resolve under the
# bare `pytest` console script (CI), not only under `python -m pytest` (which
# adds the CWD itself). Without this, conftest's `from db...` import fails in CI.
pythonpath = .
# `integration` needs a live Postgres. The rest of the suite deliberately does
# not - the core takes its session as an argument, so it is testable against an
# in-memory SQLite - which is what lets CI run it before the Cloud SQL Auth Proxy
# is up. Deselect with `pytest -m "not integration"`.
markers =
    integration: requires a live database
    e2e: drives a real browser (Playwright); needs playwright + a chromium build