diff --git a/satpy/tests/reader_tests/test_ahi_hrit.py b/satpy/tests/reader_tests/test_ahi_hrit.py index d61d2f4731..24e01e6802 100644 --- a/satpy/tests/reader_tests/test_ahi_hrit.py +++ b/satpy/tests/reader_tests/test_ahi_hrit.py @@ -337,11 +337,11 @@ def test_start_time_from_aqc_time(self): """Test that by the datetime from the metadata returned when `use_acquisition_time_as_start_time=True`.""" import datetime as dt start_time = dt.datetime(2022, 1, 20, 12, 10) - expected = dt.datetime(1970, 1, 1, 0, 0, 1, 36799) for platform in ["Himawari-8", "MTSAT-2"]: mda = self._get_mda(platform=platform) reader = self._get_reader( mda=mda, filename_info={"start_time": start_time}, reader_kwargs={"use_acquisition_time_as_start_time": True}) - assert reader.start_time == expected + assert reader.start_time == dt.datetime(1970, 1, 1, 0, 0, 1, 36799) + assert reader.end_time == dt.datetime(1970, 1, 1, 3, 3, 20, 16000)