diff --git a/SAS/TMSS/backend/services/scheduling/test/t_dynamic_scheduling.py b/SAS/TMSS/backend/services/scheduling/test/t_dynamic_scheduling.py index a222de02c7a226e75edd03335c7f0f36ea2ae903..e1bca9a41ee498c55cb72d27fe7db27bc167bdd2 100755 --- a/SAS/TMSS/backend/services/scheduling/test/t_dynamic_scheduling.py +++ b/SAS/TMSS/backend/services/scheduling/test/t_dynamic_scheduling.py @@ -3344,9 +3344,13 @@ class TestDynamicScheduling(BaseDynamicSchedulingTestCase): "scheduler": "dynamic", "sky": { "min_distance": { - "jupiter": 0.5000368306963754, - "moon": 0.5000368306963754, - "sun": 0.5000368306963754 + # JS 20240913: made the test sky-independent. We still test the correct behaviour of the fixed bug, but now time-independent. + # "jupiter": 0.5000368306963754, + # "moon": 0.5000368306963754, + # "sun": 0.5000368306963754 + "jupiter": 0, + "moon": 0, + "sun": 0 }, "min_elevation": { "calibrator": 0, @@ -3443,17 +3447,27 @@ class TestDynamicScheduling(BaseDynamicSchedulingTestCase): "scheduler": "fixed_time", "sky": { "min_distance": { - "jupiter": 0.2617993877991494, - "moon": 0.5235987755982988, - "sun": 0.5235987755982988 + # JS 20240913: made the test sky-independent. We still test the correct behaviour of the fixed bug, but now time-independent. + # "jupiter": 0.2617993877991494, + # "moon": 0.5235987755982988, + # "sun": 0.5235987755982988 + "jupiter": 0, + "moon": 0, + "sun": 0 }, "min_elevation": { - "calibrator": 0.5235987755982988, - "target": 0.5235987755982988 + # JS 20240913: made the test sky-independent. We still test the correct behaviour of the fixed bug, but now time-independent. + # "calibrator": 0.5235987755982988, + # "target": 0.5235987755982988 + "target": 0, + "calibrator": 0 }, "transit_offset": { - "from": -37440, - "to": 37440 + # JS 20240913: made the test sky-independent. We still test the correct behaviour of the fixed bug, but now time-independent. + # "from": -37440, + # "to": 37440 + "from": -43200, + "to": 43200 } }, "time": {