Skip to content

Commit

Permalink
Test that you can ls empty container
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmyatt committed Jun 8, 2020
1 parent 6eb9574 commit 1b1cd42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adlfs/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ def test_mkdir_rmdir(storage):

fs.mkdir("new-container")
assert "new-container/" in fs.ls("")
assert fs.ls("new-container") == []

with fs.open("new-container/file.txt", "wb") as f:
f.write(b"0123456789")
Expand Down

0 comments on commit 1b1cd42

Please sign in to comment.