test: run pytest in CI — real unit job + Qdrant-backed integration job #52

Merged
jcabillot merged 10 commits from tests/ci-pytest into main 2026-10-09 15:53:53 -04:00
Showing only changes of commit 6997326b81 - Show all commits
+2 -2
View File
@@ -64,7 +64,7 @@ def qdrant_setup():
# and what it holds (CI 404 diagnosis).
import logging
dbg = logging.getLogger("integration.debug")
dbg.warning("qdrant client url: %s", client.rest_uri)
dbg.warning("qdrant client url: %s", getattr(client, "_client", client).base_url if hasattr(client, "_client") else client)
server_info = None
try:
server_info = client.get_collections()
@@ -92,7 +92,7 @@ def qdrant_setup():
if collection_name not in names_after:
raise RuntimeError(
f"Fixture created collection {collection_name} but it is not in "
f"get_collections(): {names_after} — pointing at {client.rest_uri}"
f"get_collections(): {names_after}"
)
# Index test emails