Files
backend/backend/pytest.ini
T
34047007@qq.com a6cd99a4ca
CI / backend (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
feat: initial commit - oncology literature search platform
OncoLit: a multi-tenant oncology literature search, feed, and
collaboration platform. Built with FastAPI + Vue 3 + PostgreSQL.
Includes PubMed pipeline, drug approvals, AI summaries, and
systematic review tools.
2026-07-27 07:59:18 +08:00

12 lines
492 B
INI
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[pytest]
asyncio_mode = auto
; session scope: fixture 和 test 共享同一事件循环,避免 asyncpg
; "attached to a different loop" 错误。client fixture 使用 live serverHTTP),
; 不存在 Windows ProactorEventLoop 关闭问题。
asyncio_default_fixture_loop_scope = session
asyncio_default_test_loop_scope = session
testpaths = tests
addopts = -v --tb=short --color=yes --cov=app --cov-report=term-missing
filterwarnings =
ignore::jwt.warnings.InsecureKeyLengthWarning