-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
28 lines (28 loc) · 1.11 KB
/
Copy pathpyproject.toml
File metadata and controls
28 lines (28 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
26
27
28
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["tests"]
addopts = [
# Block pytest plugins that get auto-discovered from the active conda env
# but are unused here. dash.testing.plugin transitively imports psutil; if
# the env has a non-FT psutil wheel (abi3 landed in python3.14t), psutil's
# _psutil_linux .so segfaults during plugin init before pytest collects
# any tests. pytest_playwright is similarly autoloaded and breaks when
# `playwright` is missing.
"-p", "no:dash",
"-p", "no:playwright",
"--strict-markers",
"--strict-config",
]
markers = [
"health: health endpoint checks",
"data: JuniperData service tests",
"full_stack: cross-service integration tests",
]
filterwarnings = [
"error",
# _brotli is an indirect dep via urllib3 that has not declared
# free-threading safety. Under python3.14t its import re-enables the GIL
# and emits a RuntimeWarning that filterwarnings='error' would otherwise
# promote into a collection failure.
"ignore:The global interpreter lock \\(GIL\\) has been enabled to load module:RuntimeWarning",
]