diff --git a/tests/conftest.py b/tests/conftest.py index 31a3722..52a4e7e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -4,14 +4,6 @@ Provides an async SQLite in-memory engine that auto-creates all tables, a per-test session, and a FastAPI ``TestClient`` wired to use it. """ - -def pytest_addoption(parser): - parser.addoption( - "--preprocess-dir", - default=None, - help="Override fixture folder for preprocessor tests (must contain cases.yaml + data/)", - ) - from __future__ import annotations import json @@ -241,3 +233,13 @@ def s3_bucket(): mock_settings.AWS_ACCESS_KEY_ID = "testing" mock_settings.AWS_SECRET_ACCESS_KEY = "testing" yield S3_TEST_BUCKET + + +# ── CLI options ─────────────────────────────────────────────────────── + +def pytest_addoption(parser): + parser.addoption( + "--preprocess-dir", + default=None, + help="Override fixture folder for preprocessor tests (must contain cases.yaml + data/)", + )