Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Apr 12, 2024
1 parent 8cc7564 commit af8aae5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_bucket_notification_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from posttroll.message import Message
from posttroll.testing import patched_publisher
from pytroll_watchers import minio_notification_watcher
from pytroll_watchers.publisher import fix_times
from pytroll_watchers.testing import patched_bucket_listener # noqa
from upath import UPath

Expand Down Expand Up @@ -65,7 +66,7 @@ def test_fix_times():
"orbit_number": 64498,
"processing_datetime": datetime.datetime(2024, 4, 8, 10, 23, 34, 392250)}

minio_notification_watcher.fix_times(metadata)
fix_times(metadata)

assert metadata["start_time"] < metadata["end_time"]

Expand Down

0 comments on commit af8aae5

Please sign in to comment.