From 9417e577a98a69f18ea305f7911d3d6bf0ef2f1f Mon Sep 17 00:00:00 2001 From: OpenCode Cabillot Date: Fri, 9 Oct 2026 00:20:35 +0000 Subject: [PATCH] test: mark integration suite with pytest.mark.integration Required for -m 'not integration' to actually deselect them (pytest.ini addopts) and for 'pytest -m integration' in the nightly CI job. --- tests/test_integration.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_integration.py b/tests/test_integration.py index dd53c7f..563b870 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -11,6 +11,10 @@ os.environ["EMBEDDING_MODEL_NAME"] = "BAAI/bge-small-en-v1.5" from server import get_qdrant_client, get_embedding_model, search_emails, read_email from qdrant_client.http import models +# Requires a live Qdrant on localhost:6333 (see pytest.ini: deselected by +# default; run with `pytest -m integration`, nightly CI does exactly that). +pytestmark = pytest.mark.integration + TEST_EMAILS = [ {