19 lines
509 B
INI
19 lines
509 B
INI
|
|
[pytest]
|
||
|
|
testpaths = backend/tests
|
||
|
|
python_files = test_*.py
|
||
|
|
python_classes = Test*
|
||
|
|
python_functions = test_*
|
||
|
|
addopts = -v --tb=short --cov=backend.main --cov=backend.llm --cov=backend.prompt --cov=backend.geoip --cov=backend.prompts --cov=backend.tts_asr --cov-report=term-missing --cov-report=html --cov-fail-under=90
|
||
|
|
|
||
|
|
[coverage:run]
|
||
|
|
omit =
|
||
|
|
backend/tests/*
|
||
|
|
backend/test_*.py
|
||
|
|
|
||
|
|
[coverage:report]
|
||
|
|
fail_under = 90
|
||
|
|
exclude_lines =
|
||
|
|
pragma: no cover
|
||
|
|
if TYPE_CHECKING:
|
||
|
|
raise NotImplementedError
|