-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpytest.ini
More file actions
26 lines (24 loc) · 848 Bytes
/
pytest.ini
File metadata and controls
26 lines (24 loc) · 848 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
[tool:pytest]
minversion = 6.0
addopts = -ra -v --tb=short --strict-markers --disable-warnings --timeout=10 --timeout-method=thread
testpaths = tests
timeout = 10
python_files = test_*.py
python_classes = Test*
python_functions = test_*
markers =
asyncio: marks tests as async (for pytest-asyncio)
unit: marks tests as unit tests
integration: marks tests as integration tests
slow: marks tests as slow running
# Enable asyncio mode
asyncio_mode = auto
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore:.*deprecated.*:DeprecationWarning
ignore:.*websockets.legacy.*:DeprecationWarning
ignore::DeprecationWarning:websockets
ignore::DeprecationWarning:websockets.legacy
ignore:websockets.legacy is deprecated.*:DeprecationWarning:websockets.legacy