-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
24 lines (23 loc) · 636 Bytes
/
pytest.ini
File metadata and controls
24 lines (23 loc) · 636 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
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
addopts =
-v
--tb=short
--strict-markers
-W ignore::DeprecationWarning
-W ignore::pytest.PytestUnraisableExceptionWarning
-W ignore::ResourceWarning
-p no:unraisableexception
markers =
asyncio: mark test as async
redis: mark test as requiring Redis
integration: mark test as integration test
# Skip Redis tests by default if Redis not available
filterwarnings =
ignore::pytest.PytestUnraisableExceptionWarning
ignore::DeprecationWarning
ignore::ResourceWarning