Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Sep 11, 2023
1 parent 00c3df3 commit 0575b8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fsspec/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,8 @@ def test_chained_url(ftp_writable):
url += f"::ftp://{username}:{password}@{host}:{port}/archive.zip"
with fsspec.open(url, "rb") as f:
assert f.read() == data["afile"]


def test_automkdir_local():
fs, _ = fsspec.core.url_to_fs("file://", auto_mkdir=True)
assert fs.auto_mkdir is True

0 comments on commit 0575b8b

Please sign in to comment.