[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 (and conftest makes a missing DB/ffmpeg a hard error unless # SIFTLODE_TEST_REQUIRE_DB=0). `--strict-markers`: a misspelt `@pytest.mark.skipiff` is an error, # not an unknown marker that quietly does nothing. testpaths = tests pythonpath = . addopts = -q -rs --strict-markers