Skip to content

Commit

Permalink
test: update test_get_stac_collection_by_id
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Oct 9, 2023
1 parent 3d2a542 commit 010a60d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/units/test_stac_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,14 @@ def test_get_stac_collection_by_id(self):
self.assertIsNotNone(r)
self.assertEqual(9, len(r["providers"]))
self.assertEqual(1, r["providers"][0]["priority"])
self.assertEqual("peps", r["providers"][0]["name"])
self.assertEqual(["host"], r["providers"][0]["roles"])
self.assertEqual("https://peps.cnes.fr", r["providers"][0]["url"])
self.assertTrue(
r["providers"][0]["description"].startswith(
'The PEPS platform, the French "mirror site"'
)
)

def test_get_stac_collections(self):
"""get_stac_collections runs without any error"""
Expand Down

0 comments on commit 010a60d

Please sign in to comment.