Spaces:
Sleeping
Sleeping
| """ | |
| Python Test Package β Phase 6 Testing Suite | |
| Structure: | |
| tests/ | |
| βββ __init__.py (this file) | |
| βββ conftest.py β shared fixtures (test DB, async session) | |
| βββ test_visit_model.py β Pydantic schema unit tests | |
| βββ test_analytics_service.py β AnalyticsService unit tests | |
| βββ test_pdf_service.py β PDFService unit tests | |
| βββ test_api_integration.py β Full endpoint integration tests (httpx) | |
| Run: | |
| cd python | |
| pytest -v # all tests | |
| pytest -v tests/ # same, explicit | |
| pytest --cov=. --cov-report=html # with coverage | |
| """ | |