Skip to content

Commit

Permalink
Update tests/test_variable.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chuck Daniels <cjdaniels4@gmail.com>
  • Loading branch information
frankinspace and chuckwondo authored Sep 4, 2024
1 parent 9f59997 commit b987351
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,11 @@ def test_instance_format(self):
query.instance_format("zarr")

self.assertIn("instance_format", query.params)
self.assertEqual(query.params["instance_format"], "zarr")
self.assertEqual(query.params["instance_format"], ["zarr"])

def test_instance_formats(self):
query = VariableQuery()
query.instance_format(["zarr", "kerchunk"])

self.assertIn("instance_format", query.params)
self.assertEqual(query.params["instance_format"], ["zarr", "kerchunk"])

0 comments on commit b987351

Please sign in to comment.