From 3c9e6ec36fdbc4b632e12245775cd5e655a2cc4a Mon Sep 17 00:00:00 2001 From: mavaylon1 Date: Tue, 23 Jul 2024 15:36:45 -0700 Subject: [PATCH] review --- tests/unit/test_fsspec_streaming.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/unit/test_fsspec_streaming.py b/tests/unit/test_fsspec_streaming.py index 30b9e7b4..cbb0bf06 100644 --- a/tests/unit/test_fsspec_streaming.py +++ b/tests/unit/test_fsspec_streaming.py @@ -29,7 +29,13 @@ def test_fsspec_streaming(self): @unittest.skipIf(not HAVE_FSSPEC, "fsspec not installed") def test_s3_open_with_consolidated_(self): + """ + The file is a Zarr file with consolidated metadata. + """ s3_path = "https://dandiarchive.s3.amazonaws.com/zarr/ccefbc9f-30e7-4a4c-b044-5b59d300040b/" with NWBZarrIO(s3_path, mode='r') as read_io: read_io.open() self.assertIsInstance(read_io.file.store, zarr.storage.ConsolidatedMetadataStore) + with NWBZarrIO(s3_path, mode='-r') as read_io: + read_io.open() + self.assertIsInstance(read_io.file.store, zarr.storage.FSStore)