fix(integration): asyncio auto-mode, per-test truncation, artist images IN-subquery

This commit is contained in:
2026-05-15 22:23:32 -04:00
parent 65a055408b
commit 13be9085b5
3 changed files with 41 additions and 6 deletions
+5
View File
@@ -9,6 +9,11 @@ where = ["."]
include = ["backend*"]
[tool.pytest.ini_options]
# auto mode: async test fns and async fixtures don't need explicit
# @pytest.mark.asyncio / @pytest_asyncio.fixture decoration. Required
# because the test_api_* fixtures use plain @pytest.fixture on async
# app/client; strict mode errors on those under pytest-asyncio 1.x.
asyncio_mode = "auto"
# The fast backend job runs `-m "not integration"`; the dedicated CI
# `integration` job (pgvector Postgres + Redis service containers) runs
# `-m integration`. Both also runnable locally via docker-compose.