-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
29 lines (25 loc) · 1.01 KB
/
pytest.ini
File metadata and controls
29 lines (25 loc) · 1.01 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
[pytest]
# Suppress benign deprecation and metric warnings during test runs
filterwarnings =
ignore::pydantic._internal._config.PydanticDeprecatedSince20
ignore::DeprecationWarning
ignore::sklearn.exceptions.UndefinedMetricWarning
# Test markers for organizing and filtering tests
markers =
# Test categories
unit: Unit tests for core functionality
modules: Module discovery tests (may have import side effects)
prompts: Prompt system tests
integration: Integration and end-to-end tests
# Performance markers
essential: Must-run tests that catch breaking changes
slow: Slow tests that can be skipped in fast CI runs
# Dependency markers
requires_api: Tests that require real API access
requires_ollama: Tests that require Ollama to be running locally
no_mock_datasets: Tests that need real dataset loading behavior (not mocked)
# Default test discovery patterns
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*