Spaces:
Sleeping
Sleeping
File size: 680 Bytes
b84ea83 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | """
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
"""
|