-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpytest.ini
More file actions
38 lines (32 loc) · 793 Bytes
/
pytest.ini
File metadata and controls
38 lines (32 loc) · 793 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
[tool:pytest]
markers =
unit: marks tests as unit tests (fast, isolated)
integration: marks tests as integration tests (slower, real dependencies)
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Async support
asyncio_mode = auto
# Output options
addopts =
--strict-markers
--tb=short
--durations=10
--color=yes
-v
-s
# Logging
log_cli = true
log_cli_level = INFO
log_cli_format = %(levelname)s %(asctime)s %(name)s:%(lineno)d - %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
log_level = INFO
# Test timeout (in seconds)
timeout = 300
# Warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::pytest.PytestUnraisableExceptionWarning