diff --git a/tests/unit/test_zarrio.py b/tests/unit/test_zarrio.py index 081706a8..5ac9a79d 100644 --- a/tests/unit/test_zarrio.py +++ b/tests/unit/test_zarrio.py @@ -182,3 +182,7 @@ def test_force_open_without_consolidated_fails(self): except ValueError as e: self.fail("ZarrIO.__open_file_consolidated raised an unexpected ValueError: {}".format(e)) + def test_s3_open_with_consolidated_(self): + s3_path = "https://dandiarchive.s3.amazonaws.com/zarr/ccefbc9f-30e7-4a4c-b044-5b59d300040b/" + with ZarrIO(s3_path, mode='r') as read_io: + self.assertIsInstance(read_io.file.store, zarr.storage.ConsolidatedMetadataStore)