forked from WISClub/user_management
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpytest.ini
More file actions
24 lines (23 loc) · 776 Bytes
/
Copy pathpytest.ini
File metadata and controls
24 lines (23 loc) · 776 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.ini
[pytest]
testpaths = tests
addopts = -v
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
asyncio_mode = auto
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
fast: marks tests as fast (deselect with '-m "not fast"')
# log_cli=true
# log_cli_level=DEBUG
# Suppresses specific known warnings or globally ignores certain categories of warnings
filterwarnings =
ignore::DeprecationWarning
ignore::UserWarning
ignore::RuntimeWarning
# Ignore specific warnings from libraries
ignore:the imp module is deprecated in favour of importlib:DeprecationWarning
ignore:Using or importing the ABCs from 'collections':DeprecationWarning
# Customize logging level if needed
# log_level = INFO