-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
25 lines (20 loc) · 765 Bytes
/
pytest.ini
File metadata and controls
25 lines (20 loc) · 765 Bytes
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]
minversion = 8.0
testpaths =
tests
# Ensure the repository root is importable (e.g. so `tests.*` imports in
# `tests/conftest.py` work when invoking the `pytest` console script).
pythonpath =
.
src
# Keep output concise by default, and skip integration-ish tests unless explicitly requested.
addopts = -q --import-mode=importlib -m "not integration and not network and not contract"
log_cli = true
log_cli_level = INFO
markers =
integration: marks tests that hit external services (deselect with '-m not integration')
contract: marks a small number of real-world connector contract tests (env-gated)
network: marks tests that perform real network I/O
filterwarnings =
ignore::ResourceWarning
ignore::DeprecationWarning