We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1a8428 commit e6e2b2eCopy full SHA for e6e2b2e
pydrive2/test/test_fs.py
@@ -116,9 +116,11 @@ def test_rm(fs, remote_dir):
116
assert not fs.exists(remote_dir + "/dir/c/a")
117
118
119
-def test_ls(fs, remote_dir):
120
- fs.mkdir(remote_dir + "dir/")
+def test_ls(fs: GDriveFileSystem, remote_dir):
+ _, base = fs.split_path(remote_dir + "dir/")
121
+ fs._path_to_item_ids(base, create=True)
122
assert fs.ls(remote_dir + "dir/") == []
123
+
124
files = set()
125
for no in range(8):
126
file = remote_dir + f"dir/test_{no}"
0 commit comments