Skip to content

Commit

Permalink
Revert deletion of a test on discarding old data
Browse files Browse the repository at this point in the history
  • Loading branch information
lahtinep committed Feb 29, 2024
1 parent cdb62b6 commit 06f6a45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trollflow2/tests/test_trollflow2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 06f6a45

Please sign in to comment.