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 5a03139Copy full SHA for 5a03139
gcsfs/tests/test_core.py
@@ -163,7 +163,6 @@ def test_pickle(gcs):
163
gcs.touch(a)
164
assert gcs.ls(TEST_BUCKET) == gcs2.ls(TEST_BUCKET)
165
166
-
167
def test_ls_touch(gcs):
168
assert not gcs.exists(TEST_BUCKET + "/tmp/test")
169
@@ -177,6 +176,14 @@ def test_ls_touch(gcs):
177
176
assert {d["name"] for d in L_d} == {a, b}
178
179
+# DO NOT MERGE!
180
+# Note: We assume this test will fail. Once it does in CI, we will update the code to make it pass.
181
+# Only then can this PR be approved and merged.
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