We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 378cae6 commit 294dd47Copy full SHA for 294dd47
gcsfs/tests/test_core.py
@@ -163,7 +163,9 @@ def test_pickle(gcs):
163
gcs.touch(a)
164
assert gcs.ls(TEST_BUCKET) == gcs2.ls(TEST_BUCKET)
165
166
-
+# DO NOT MERGE!
167
+# Note: We assume this test will fail. Once it does in CI, we will update the code to make it pass.
168
+# Only then can this PR be approved and merged.
169
def test_ls_touch(gcs):
170
assert not gcs.exists(TEST_BUCKET + "/tmp/test")
171
@@ -177,6 +179,11 @@ def test_ls_touch(gcs):
177
179
assert {d["name"] for d in L_d} == {a, b}
178
180
181
182
+def test_ls_empty_dir(gcs):
183
+ gcs.mkdir(TEST_BUCKET + "/test")
184
+ assert gcs.ls(TEST_BUCKET + "/test", False) == []
185
+
186
187
def test_rm(gcs):
188
assert not gcs.exists(a)
189
0 commit comments