Closed mdadighat closed 1 month ago
Coverage Report
File Stmts Miss Cover Missing src/api satchecker.py 1 1 0% 1 src/api/adapters/repositories satellite_repository.py 54 4 93% 29, 33, 37, 41 tle_repository.py 80 5 94% 66, 72, 81, 90, 94 src/api/domain/models tle.py 19 1 95% 52 src/api/entrypoints extensions.py 10 1 90% 32 src/api/entrypoints/v1/routes routes.py 37 10 73% 22, 63, 92, 114–126 tools_routes.py 49 6 88% 49–51, 86–88 src/api/services validation_service.py 112 1 99% 139 src/api/services/tasks ephemeris_tasks.py 40 7 82% 55, 73, 117, 121, 148, 169–172 src/api/utils coordinate_systems.py 138 1 99% 458 propagation_strategies.py 65 1 98% 123 TOTAL 887 38 96%
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
97 | 0 :zzz: | 0 :x: | 0 :fire: | 16.157s :stopwatch: |
Description:
Refactor all the current functionality into services/repositories and more testable utility classes. Rewrote most of the automated tests to reflect the new structure, get rid of mocks, and increase test coverage.
Fix the check for whether the satellite is illuminated, plus add the data source to the endpoint to retrieve TLE data to better distinguish between similar data points.