-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
28 lines (25 loc) · 1.22 KB
/
pytest.ini
File metadata and controls
28 lines (25 loc) · 1.22 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
[pytest]
# Custom markers for selective test execution
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests requiring external services or API calls
smoke: marks CLI smoke tests for quick validation
resilience: marks API resilience and retry behavior tests
manual: marks tests that require manual setup or real data files
# Filter out warnings from external libraries that we cannot fix
filterwarnings =
# SWIG deprecation warnings from PyMuPDF (fitz) - internal to library
ignore::DeprecationWarning:importlib._bootstrap:241
ignore:builtin type Swig.*has no __module__ attribute:DeprecationWarning
ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning
# Hypothesis recursion limit warnings - library behavior during property tests
ignore:The recursion limit will not be reset:hypothesis.errors.HypothesisWarning
# Google genai library - BaseApiClient.aclose coroutine not awaited (library issue)
ignore:coroutine 'BaseApiClient.aclose' was never awaited:RuntimeWarning
# Test discovery
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Async test configuration
asyncio_mode = auto