-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
37 lines (31 loc) · 750 Bytes
/
pytest.ini
File metadata and controls
37 lines (31 loc) · 750 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
28
29
30
31
32
33
34
35
36
37
[pytest]
# pytest configuration
# Test paths
testpaths = tests
# Python files/classes/functions pattern
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
-v
--strict-markers
--tb=short
--cov=ai_client
--cov-report=term-missing
--cov-report=html
# Markers
markers =
unit: Unit tests (mock external dependencies)
integration: Integration tests (require API keys)
slow: Slow tests (may take longer than 1 second)
asyncio: Async tests
# Asyncio mode
asyncio_mode = auto
# Warnings
filterwarnings =
error
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::ResourceWarning
ignore::pytest.PytestUnraisableExceptionWarning