From 9c081b740b27f407c6227e95ad3e3153b47b5f5a Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 28 Feb 2016 17:19:12 +0200 Subject: [PATCH] tests/vfs_fat_ramdisk: Add .listdir() testcase. --- tests/extmod/vfs_fat_ramdisk.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/extmod/vfs_fat_ramdisk.py b/tests/extmod/vfs_fat_ramdisk.py index 362a85db5e..e514fe2285 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']