Skip to content

Commit

Permalink
S3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Jul 18, 2024
1 parent a508d58 commit e40d648
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/test_zarrio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e40d648

Please sign in to comment.