-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
25 lines (25 loc) · 1.11 KB
/
Copy pathpytest.ini
File metadata and controls
25 lines (25 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[pytest]
testpaths = libs apps tests/scripts
# v0.10.5 audit followup (advisor-plans/006 followup): pytest must
# resolve both the workspace-installed ``gw2analytics_api`` package
# AND the per-app ``_fixtures`` helpers used by e2e test files in
# ``apps/api/tests/``. ``pythonpath = .`` covers ``gw2analytics_api``
# via the workspace-editable-install + the explicit listings add
# ``apps/api/src`` (defensive belt-and-braces in case the editable
# install is not wired) and ``apps/api/tests`` (so ``from _fixtures
# import make_cbtevent, make_minimal_zevtc`` resolves without a
# per-test conftest hack).
pythonpath =
.
apps/api/src
apps/api/tests
addopts = --strict-markers --strict-config --tb=short -ra -q
asyncio_mode = auto
# Phase 0: don't escalate warnings to errors. Tighten filter in later phases
# as code stabilizes. Specific deps that emit deprecations we can't fix yet:
filterwarnings =
ignore::starlette.exceptions.StarletteDeprecationWarning
ignore::DeprecationWarning
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: tests requiring a live database/redis/minio