-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
48 lines (41 loc) · 1.07 KB
/
pytest.ini
File metadata and controls
48 lines (41 loc) · 1.07 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
performance: marks tests as performance benchmarks
compatibility: marks tests as compatibility tests
gpu: marks tests that require GPU
network: marks tests that require network access
large_memory: marks tests that require large amounts of memory
addopts =
--strict-markers
--strict-config
--verbose
--tb=short
--durations=10
--color=yes
filterwarnings =
ignore::UserWarning
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::FutureWarning
minversion = 6.0
collect_ignore =
setup.py
build
dist
.git
.tox
venv
env
log_cli = false
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
tmp_path_retention_count = 3
tmp_path_retention_policy = failed