-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
32 lines (30 loc) · 1.04 KB
/
Copy pathpytest.ini
File metadata and controls
32 lines (30 loc) · 1.04 KB
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
[tool:pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--tb=short
--strict-markers
--disable-warnings
--color=yes
-p pytest_asyncio
markers =
asyncio: marks tests as async (deselect with '-m "not asyncio"')
unit: marks tests as unit tests
integration: marks tests as integration tests
slow: marks tests as slow running
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
filterwarnings =
ignore::DeprecationWarning:faiss.*
ignore::DeprecationWarning:.*_multiarray_umath.*
ignore::DeprecationWarning:.*SwigPy.*
ignore::DeprecationWarning:.*swigvarlink.*
ignore:.*__module__ attribute.*:DeprecationWarning
ignore:invalid value encountered in divide:RuntimeWarning
ignore:invalid value encountered in true_divide:RuntimeWarning
ignore:Precision is ill-defined.*:sklearn.exceptions.UndefinedMetricWarning
ignore:Recall is ill-defined.*:sklearn.exceptions.UndefinedMetricWarning
required_plugins = pytest-asyncio