-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
24 lines (24 loc) · 1.11 KB
/
Copy pathpytest.ini
File metadata and controls
24 lines (24 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
[pytest]
testpaths = tests
# No `pythonpath` here any more. It existed for exactly one reason: the rhiza checks were
# synced into `.rhiza/tests/` and had to be importable so the suite's modules could import
# each other. Since #1540 they arrive installed, as pytest-rhiza, so import resolution is
# pip's job and the project's own suite is reached through `testpaths` above.
# Disable live logs on console by default (opt in with: pytest -o log_cli=true --log-cli-level=DEBUG)
log_cli = false
# Show DEBUG+ messages
log_cli_level = DEBUG
log_cli_format = %(asctime)s %(levelname)s %(name)s: %(message)s
log_cli_date_format = %H:%M:%S
# Show extra summary info for skipped/failed tests
addopts = -ra
timeout = 60
# Fail on any unexpected warning; expected warnings must be asserted via pytest.warns
filterwarnings =
error
# pytest-benchmark warns at startup when xdist is active (make test runs -n auto)
ignore:Benchmarks are automatically disabled:UserWarning
# Register custom markers
markers =
stress: marks tests as stress tests (deselect with '-m "not stress"')
property: marks tests as property-based tests