From 06f6a45840d0fdfa8ea6eca5b419aa346ed4e411 Mon Sep 17 00:00:00 2001 From: Panu Lahtinen Date: Thu, 29 Feb 2024 13:30:34 +0200 Subject: [PATCH] Revert deletion of a test on discarding old data --- trollflow2/tests/test_trollflow2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/trollflow2/tests/test_trollflow2.py b/trollflow2/tests/test_trollflow2.py index 0141c87..5cfd43d 100644 --- a/trollflow2/tests/test_trollflow2.py +++ b/trollflow2/tests/test_trollflow2.py @@ -1552,6 +1552,8 @@ def test_discard_old_data(self): get_config_value.return_value = None job = {'product_list': None, 'input_mda': {'start_time': dt.datetime(2020, 3, 18, tzinfo=dt.timezone.utc)}} assert check_metadata(job) is None + get_config_value.return_value = {'start_time': -20e6} + assert check_metadata(job) is None get_config_value.return_value = {'start_time': -60} with self.assertRaises(AbortProcessing): check_metadata(job)