-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
20 lines (20 loc) · 916 Bytes
/
Copy pathpytest.ini
File metadata and controls
20 lines (20 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[pytest]
; Parsed before conftest.py, so these reach Django settings on import.
; Mirrors the env block in .github/workflows/ci.yml.
DJANGO_SETTINGS_MODULE = config.settings
; e2e/test_ui.py is a standalone Playwright script (not a pytest test) that
; sys.exit()s at import, so it must not be collected.
norecursedirs = e2e node_modules .venv static staticfiles
env =
SIMPLEAUDIT_LOCAL_SQLITE=1
DJANGO_SECRET_KEY=test-secret-key-not-change-me
DJANGO_DEBUG=false
DJANGO_ALLOWED_HOSTS=*
; Django @tag("...") values are mirrored onto pytest items by conftest.py, so
; -m selection works the same as manage.py test --exclude-tag.
markers =
slow: heavy integration tests (engine, full API lifecycle, monitors, judges, experiments)
embedded_hatchet: starts a real embedded Hatchet worker; run serially, not in parallel
addopts = -ra --strict-markers
filterwarnings =
ignore::DeprecationWarning