Skip to content

Commit fd854f5

Browse files
committed
Add test for SWIFT store creation
1 parent e9a9b12 commit fd854f5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/test_store/test_fsspec.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,3 +440,9 @@ async def test_with_read_only_auto_mkdir(tmp_path: Path) -> None:
440440

441441
store_w = FsspecStore.from_url(f"file://{tmp_path}", storage_options={"auto_mkdir": False})
442442
_ = store_w.with_read_only()
443+
444+
def test_swift_store() -> None:
445+
"""
446+
Test creating an FsspecStore with a SWIFT URL.
447+
"""
448+
store = FsspecStore.from_url("swift://swift.dkrz.de/dkrz_xxx/testcontainer/test.zarr")

0 commit comments

Comments
 (0)