|
[tool:pytest] |
|
testpaths = tests |
|
python_files = test_*.py |
|
python_classes = Test* |
|
python_functions = test_* |
|
addopts = |
|
-v |
|
--strict-markers |
|
--strict-config |
|
--cov=src |
|
--cov-report=html:htmlcov |
|
--cov-report=term-missing |
|
--cov-fail-under=98 |
|
--tb=short |
|
--disable-warnings |
|
--asyncio-mode=auto |
|
env = |
|
DISABLE_LANGFUSE = true |
|
PYTEST_RUNNING = true |
|
markers = |
|
unit: Unit tests |
|
integration: Integration tests |
|
gpu: GPU-specific tests (requires RTX 4090) |
|
slow: Slow-running tests |
|
mcp: MCP server tests |
|
codellama: CodeLlama model tests |
|
benchmark: Performance benchmark tests |
|
asyncio_mode = auto |
|
filterwarnings = |
|
ignore::DeprecationWarning |
|
ignore::PendingDeprecationWarning |
|
ignore::pytest.PytestUnknownMarkWarning |
|
ignore::pydantic.v1.utils.PydanticDeprecatedSince211 |
|
ignore:.*pytest.mark.*:pytest.PytestUnknownMarkWarning |
|
ignore:Unknown pytest.mark.*:pytest.PytestUnknownMarkWarning |
|
ignore:Accessing the 'model_fields' attribute on the instance is deprecated* |
|
ignore:.*model_fields.*deprecated.* |