CalejoControl/tests/integration
openhands bfb52a5c45 Phase 6 Integration Testing: Complete safety workflow and optimization-to-SCADA integration tests
- Fixed critical safety limit loading bug: get_safety_limits() now queries pump_safety_limits table
- Fixed emergency stop logic: setpoint manager returns 0.0 during emergency stop
- Added comprehensive test data with proper column mappings
- All 5 safety workflow tests now passing
- 5/6 optimization-to-SCADA integration tests passing
- Created failsafe operation test suite (requires DatabaseWatchdog API updates)

Key fixes:
- Safety limit enforcement now works correctly
- Emergency stop properly shuts down pumps (0.0 setpoint)
- Dynamic safety limit updates are reflected in real-time
- Test data includes all required columns for setpoint calculation

Remaining issues:
- REST API test failing (no server running on port 8000)
- Failsafe tests require DatabaseWatchdog public API methods
2025-10-28 17:25:00 +00:00
..
test_end_to_end_workflow.py Phase 6: Integration & System Testing COMPLETED 2025-10-28 15:10:53 +00:00
test_failsafe_operations.py Phase 6 Integration Testing: Complete safety workflow and optimization-to-SCADA integration tests 2025-10-28 17:25:00 +00:00
test_flexible_client.py Phase 6: Integration & System Testing COMPLETED 2025-10-28 15:10:53 +00:00
test_optimization_to_scada.py Phase 6 Integration Testing: Complete safety workflow and optimization-to-SCADA integration tests 2025-10-28 17:25:00 +00:00
test_phase1_integration_sqlite.py Phase 6: Integration & System Testing COMPLETED 2025-10-28 15:10:53 +00:00
test_protocol_security.py Phase 5: Complete Protocol Server Security Enhancement 2025-10-27 20:59:19 +00:00
test_safety_workflows.py Phase 6 Integration Testing: Complete safety workflow and optimization-to-SCADA integration tests 2025-10-28 17:25:00 +00:00