Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_middleware
-
Story Points:1
-
Epic Link:
-
Sprint:TSSW Sprint - Aug 30 - Sep 13
-
Team:Telescope and Site
-
Urgent?:No
Description
Move the following out of ts_salobj into new package ts_utils:
- time functions such as current_tai
- angle functions such as angle_diff and angle_wrap_center
- test utilities such as modify_environ and assert_angles_almost_equal (rename from assertAnglesAlmostEqual)
- make_done_future
Add trivial backward compatibility wrappers to ts_salobj that issues deprecation warnings and then call the new function in ts_utils.
Update ts_salobj to use the new versions (but continue to test the trivial backward compatibility wrappers).
Pull requests:
I filed
DM-31660to track removing the compatibility wrappers in ts_salobj.