-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpytest.ini
More file actions
25 lines (22 loc) · 732 Bytes
/
pytest.ini
File metadata and controls
25 lines (22 loc) · 732 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
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
# Configure logging during tests
log_cli = True
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_date_format = %Y-%m-%d %H:%M:%S
# Show extra test summary info
# Note: CI overrides these options
addopts =
--verbose
# Custom markers
markers =
performance: marks tests as performance tests (deselect with '-m "not performance"')
slow: marks tests as slow (deselect with '-m "not slow"')
unit: marks tests as unit tests
integration: marks tests as integration tests
realtime: marks tests that require real-time connections