-
Notifications
You must be signed in to change notification settings - Fork 287
Expand file tree
/
Copy pathpytest.ini
More file actions
45 lines (37 loc) · 1.39 KB
/
pytest.ini
File metadata and controls
45 lines (37 loc) · 1.39 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
33
34
35
36
37
38
39
40
41
42
43
44
[pytest]
# Pytest configuration for Mirix
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Prevent pytest from recursing into non-test directories
norecursedirs = .* *.egg dist build tmp debug frontend node_modules
addopts =
-v
--tb=short
--strict-markers
-m "not integration"
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests requiring a running server (deselect with '-m "not integration"')
asyncio: marks tests as async tests (requires pytest-asyncio)
filterwarnings =
# Ignore Pydantic V2 deprecation warnings (to be fixed in future)
ignore::pydantic.warnings.PydanticDeprecatedSince20
# Ignore specific deprecation warnings
ignore:Support for class-based.*:DeprecationWarning
ignore:Using extra keyword arguments.*:DeprecationWarning
ignore:json_encoders is deprecated.*:DeprecationWarning
# Ignore third-party library warnings
ignore::DeprecationWarning:speech_recognition
ignore::RuntimeWarning:pydub
ignore:Couldn't find ffmpeg.*:RuntimeWarning
# Google GenAI: AiohttpClientSession inheritance discouraged (upstream)
ignore:Inheritance class AiohttpClientSession from ClientSession is discouraged:DeprecationWarning
[coverage:run]
source = mirix
omit =
*/tests/*
*/__pycache__/*
[coverage:report]
precision = 2