- Implemented `test_dose_parsing_simple.py` to validate the dose parsing workflow. - Created `test_dose_save.py` to verify the saving functionality of dose tracking. - Added `test_dose_save_simple.py` for programmatic testing of dose saving without UI interaction. - Developed `test_final_workflow.py` to test the complete dose tracking workflow, ensuring doses are preserved during edits. - Enhanced `conftest.py` with a mock pathology manager for testing. - Updated `test_data_manager.py` to include pathology manager in DataManager tests and ensure compatibility with new features.
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"pathologies": [
|
|
{
|
|
"key": "depression",
|
|
"display_name": "Depression",
|
|
"scale_info": "0:good, 10:bad",
|
|
"color": "#FF6B6B",
|
|
"default_enabled": true,
|
|
"scale_min": 0,
|
|
"scale_max": 10,
|
|
"scale_orientation": "normal"
|
|
},
|
|
{
|
|
"key": "anxiety",
|
|
"display_name": "Anxiety",
|
|
"scale_info": "0:good, 10:bad",
|
|
"color": "#FFA726",
|
|
"default_enabled": true,
|
|
"scale_min": 0,
|
|
"scale_max": 10,
|
|
"scale_orientation": "normal"
|
|
},
|
|
{
|
|
"key": "sleep",
|
|
"display_name": "Sleep Quality",
|
|
"scale_info": "0:bad, 10:good",
|
|
"color": "#66BB6A",
|
|
"default_enabled": true,
|
|
"scale_min": 0,
|
|
"scale_max": 10,
|
|
"scale_orientation": "inverted"
|
|
},
|
|
{
|
|
"key": "appetite",
|
|
"display_name": "Appetite",
|
|
"scale_info": "0:bad, 10:good",
|
|
"color": "#42A5F5",
|
|
"default_enabled": true,
|
|
"scale_min": 0,
|
|
"scale_max": 10,
|
|
"scale_orientation": "inverted"
|
|
}
|
|
]
|
|
}
|