-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
27 lines (27 loc) · 723 Bytes
/
pytest.ini
File metadata and controls
27 lines (27 loc) · 723 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
27
[tool:pytest]
minversion = 7.0
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
--strict-markers
--strict-config
--tb=short
--asyncio-mode=auto
-ra
--durations=10
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning:sentence_transformers.*
ignore::UserWarning:torch.*
ignore::FutureWarning:transformers.*
markers =
asyncio: marks tests as async
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
performance: marks tests as performance tests
asyncio_mode = auto
timeout = 300