Files
labFusion/services/service-adapters/tests/test_general_routes.py
GSRN 7fa17624b5
Some checks failed
Integration Tests / integration-tests (push) Failing after 20s
Service Adapters (Python FastAPI) / test (3.11) (push) Failing after 20s
Integration Tests / performance-tests (push) Has been skipped
Service Adapters (Python FastAPI) / test (3.12) (push) Failing after 21s
Service Adapters (Python FastAPI) / test (3.13) (push) Failing after 22s
Service Adapters (Python FastAPI) / build (push) Has been skipped
test: Update service health check tests to include mock responses
### Summary of Changes
- Modified the `test_get_services` method to patch the health check function and include mock responses for service statuses.
- Enhanced test coverage by simulating various service states, improving the reliability of the tests for the services endpoint.

### Expected Results
- Improved accuracy of service health checks in tests, ensuring that the endpoint behaves correctly under different service conditions.
- Enhanced maintainability of the test suite by clearly defining expected service responses.
2025-09-18 13:18:32 +02:00

3.3 KiB