diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-02-28 17:19:12 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-02-28 17:19:12 +0200 |
commit | 9c081b740b27f407c6227e95ad3e3153b47b5f5a (patch) | |
tree | ad9ea93f0496be032a35fe4967b1887719b0937c | |
parent | cd6d189f48ccb02761ee286e1254c764ee732d7f (diff) |
tests/vfs_fat_ramdisk: Add .listdir() testcase.
-rw-r--r-- | tests/extmod/vfs_fat_ramdisk.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/extmod/vfs_fat_ramdisk.py b/tests/extmod/vfs_fat_ramdisk.py index 362a85db5..e514fe228 100644 --- a/tests/extmod/vfs_fat_ramdisk.py +++ b/tests/extmod/vfs_fat_ramdisk.py @@ -55,3 +55,5 @@ f2.close() assert b"FOO_FILETXT" in bdev.data assert b"hello!" in bdev.data + +assert vfs.listdir() == ['foo_file.txt'] |