Spaces:
Sleeping
Sleeping
Create tests/__init__.py
Browse files- tests/__init__.py +25 -0
tests/__init__.py
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
Test suite for Scribbled Docs Notes - Medical SOAP Note Generator
|
3 |
+
|
4 |
+
This test suite provides comprehensive testing for:
|
5 |
+
- SOAP note generation functionality
|
6 |
+
- OCR text extraction from medical images
|
7 |
+
- Gradio web interface components
|
8 |
+
- File handling and validation
|
9 |
+
- Error handling and edge cases
|
10 |
+
- Integration workflows
|
11 |
+
|
12 |
+
Usage:
|
13 |
+
Run all tests: python -m pytest tests/
|
14 |
+
Run specific test: python -m pytest tests/test_soap_generation.py
|
15 |
+
Run with coverage: python -m pytest --cov=app tests/
|
16 |
+
"""
|
17 |
+
|
18 |
+
import sys
|
19 |
+
import os
|
20 |
+
|
21 |
+
# Add the parent directory to the Python path so tests can import app modules
|
22 |
+
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
23 |
+
|
24 |
+
__version__ = "1.0.0"
|
25 |
+
__author__ = "Scribbled Docs Notes Team"
|