-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpytest.ini
More file actions
17 lines (17 loc) · 784 Bytes
/
pytest.ini
File metadata and controls
17 lines (17 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[pytest]
testpaths = tests
pythonpath = src
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts = -v --tb=short --strict-markers
markers =
unit: Unit tests (fast, isolated)
integration: Integration tests (may require external services)
slow: Slow tests
no_stats_isolation: Opt out of the autouse isolate_stats_db_directory fixture (for tests that need to verify the production /var/lib/eneru default)
# No blanket warning filters: a project-wide `ignore::DeprecationWarning`
# would also hide upstream-Python deprecations the daemon needs to
# react to. If a third-party library emits noisy DeprecationWarnings
# in CI, scope a targeted filter (e.g. `ignore::DeprecationWarning:<module>`)
# rather than restoring the blanket suppression.