-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
38 lines (33 loc) · 859 Bytes
/
pytest.ini
File metadata and controls
38 lines (33 loc) · 859 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
26
27
28
29
30
31
32
33
34
35
36
37
38
[pytest]
minversion = 7.0
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Pytest options
addopts =
-ra
--strict-markers
--strict-config
--showlocals
# Markers for organizing tests
markers =
unit: Unit tests for individual functions
integration: Integration tests for workflows
slow: Slow-running tests
mpl: Tests involving matplotlib
fonts: Tests involving font registration
data: Tests involving dataset loading
# Logging
log_cli = false
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Test discovery
norecursedirs = .git .tox dist build *.egg htmlcov
# Warnings
filterwarnings =
error
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:matplotlib