Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfromearth committed Nov 8, 2024
1 parent 963e66a commit 1a75ae6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_harmony.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ def test_service_invoke(self):
collection_name = in_message['sources'][0]['collection']

# Sanity checks on metadata
print(f"item_path === {item_path}")
print(f"properties['end_datetime'] === {properties['end_datetime']}")
print(f"href === {data['href']}")
print(f"title === {data['href']}")
print(f"item_href === {item_href}")
print(f"properties === {properties}")
self.assertTrue(unquote(data['href'], encoding='utf-8', errors='replace').endswith(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')
Expand Down

0 comments on commit 1a75ae6

Please sign in to comment.