-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathrun_tests.py
More file actions
27 lines (23 loc) · 737 Bytes
/
Copy pathrun_tests.py
File metadata and controls
27 lines (23 loc) · 737 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
# run_tests.py — offline test suite (no live server needed)
#
# Excludes:
# tests/manual/ — live integration tests (need real API keys / server)
# tests/performance/ — stability benchmarks
#
# The following files are also excluded (FastAPI/Starlette compat issue
# with on_startup/on_shutdown in APIRouter, unrelated to this project):
# tests/test_integration_routing.py
# tests/test_streaming.py
import sys
import pytest
excluded = [
"tests/manual",
"tests/performance",
"tests/e2e/test_integration_routing.py",
"tests/e2e/test_streaming.py",
"tests/test_models_availability.py",
]
args = ["tests", "-v"]
for path in excluded:
args.extend(["--ignore", path])
sys.exit(pytest.main(args))