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.
12 lines
492 B
INI
12 lines
492 B
INI
[pytest]
|
||
asyncio_mode = auto
|
||
; session scope: fixture 和 test 共享同一事件循环,避免 asyncpg
|
||
; "attached to a different loop" 错误。client fixture 使用 live server(HTTP),
|
||
; 不存在 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
|