We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbe832a commit eaa96a7Copy full SHA for eaa96a7
1 file changed
tests/extmod/vfs_fat_ramdisk.py
@@ -60,3 +60,10 @@ def ioctl(self, op, arg):
60
61
vfs.remove('foo_file.txt')
62
assert vfs.listdir() == []
63
+
64
+vfs.mkdir("foo_dir")
65
+assert vfs.listdir() == ['foo_dir']
66
+with vfs.open("foo_dir/file-in-dir.txt", "w") as f:
67
+ f.write("data in file")
68
69
+assert vfs.listdir("foo_dir") == ['file-in-dir.txt']
0 commit comments