[pytest] # Run from backend/ (the image's /app). `pythonpath = .` puts the app package on sys.path so tests # import it as `app.*`, matching runtime. Most of the suite is pure-logic; the DB-backed lane opts in # via the `db` fixture and runs in the compose test image. `-rs` reports skip REASONS so a silently # skipped lane is visible (the compose lane sets SIFTLODE_TEST_REQUIRE_DB=1 to make skips a hard error). testpaths = tests pythonpath = . addopts = -q -rs