diff options
| author | Paul Sokolovsky | 2016-02-28 20:30:59 +0200 |
|---|---|---|
| committer | Paul Sokolovsky | 2016-02-28 20:30:59 +0200 |
| commit | 57425b648fe3a524084ca40556ae5ca96de56c57 (patch) | |
| tree | 8daca9a3c9fe6fb0287ff0f97f2c94b9fabb1002 | |
| parent | 19749db7bffb99dd045cd513f19ec5452bd5ef8d (diff) | |
tests/vfs_fat_ramdisk: Add testcase for .remove().
| -rw-r--r-- | tests/extmod/vfs_fat_ramdisk.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/extmod/vfs_fat_ramdisk.py b/tests/extmod/vfs_fat_ramdisk.py index e514fe228..8ccce2771 100644 --- a/tests/extmod/vfs_fat_ramdisk.py +++ b/tests/extmod/vfs_fat_ramdisk.py @@ -57,3 +57,6 @@ assert b"FOO_FILETXT" in bdev.data assert b"hello!" in bdev.data assert vfs.listdir() == ['foo_file.txt'] + +vfs.remove('foo_file.txt') +assert vfs.listdir() == [] |
