From 963e66ab61aa86523fce2d321adcd1bd4c161694 Mon Sep 17 00:00:00 2001 From: danielfromearth Date: Fri, 8 Nov 2024 13:59:39 -0500 Subject: [PATCH] fix failing test --- tests/test_harmony.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_harmony.py b/tests/test_harmony.py index d4627af6..5773ca96 100644 --- a/tests/test_harmony.py +++ b/tests/test_harmony.py @@ -81,12 +81,8 @@ def test_service_invoke(self): collection_name = in_message['sources'][0]['collection'] # Sanity checks on metadata - print(f"item_path === f{item_path}") - print(f"properties['end_datetime'] === f{properties['end_datetime']}") - print(f"href === f{data['href']}") - print(f"title === f{data['href']}") self.assertTrue(unquote(data['href'], encoding='utf-8', errors='replace').endswith(f"{properties['end_datetime']}_{collection_name}_merged.nc4")) - self.assertEqual(unquote(data['title'], encoding='utf-8', errors='replace'), f"{properties['end_datetime']}_{collection_name}_merged.nc4") + self.assertTrue(unquote(data['title'], encoding='utf-8', errors='replace').endswith(f"{properties['end_datetime']}_{collection_name}_merged.nc4")) self.assertEqual(data['type'], 'application/x-netcdf4') self.assertEqual(data['roles'], ['data'])