From b5bd953b8fa2921ce3d3353f4ad763ed745f1286 Mon Sep 17 00:00:00 2001 From: tgalvin Date: Fri, 9 Aug 2024 16:51:33 +0800 Subject: [PATCH] repaired test --- tests/test_summary.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_summary.py b/tests/test_summary.py index dd67b835..4b49883f 100644 --- a/tests/test_summary.py +++ b/tests/test_summary.py @@ -143,7 +143,7 @@ def test_field_summary(ms_example): assert isinstance(field_summary, FieldSummary) assert field_summary.sbid == "39400" - assert field_summary.cal_sbid is None + assert field_summary.cal_sbid == "None" assert isinstance(field_summary.location, EarthLocation) assert field_summary.integration_time == 19.90655994415036 assert isinstance(field_summary.ms_times, Time) @@ -164,8 +164,8 @@ def test_field_summary_with_mss(ms_example, aegean_outputs_example): # This si the phase direction, in degrees, of the one MS # this pirate is sneakily repeating centre = field_summary.centre - assert np.isclose(centre.ra.deg, 98.211959) - assert np.isclose(centre.dec.deg, -30.86099889) + assert np.isclose(centre.ra.deg, 98.211959) # type: ignore + assert np.isclose(centre.dec.deg, -30.86099889) # type: ignore assert isinstance(field_summary.hour_angles, Longitude) assert isinstance(field_summary.elevations, Latitude)