-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
18 lines (18 loc) · 732 Bytes
/
Copy pathpytest.ini
File metadata and controls
18 lines (18 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[pytest]
asyncio_mode = auto
# Every test + every fixture share ONE event loop for the whole session.
# Required because (a) httpx.AsyncClient is a module-level singleton in
# ollama_client.py, and (b) psycopg pool connections cannot migrate loops.
asyncio_default_fixture_loop_scope = session
asyncio_default_test_loop_scope = session
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Each golden question can hit cold qwen — give it 5 minutes before failing.
timeout = 300
timeout_method = thread
markers =
smoke: fast subset of golden questions (single-table aggregates only); ~5 min total
golden: full golden Q->SQL eval suite; ~30-60 min on CPU
addopts = -v --tb=short -ra