Commit 2740dd85 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/vfs_fat_ramdisk: Add testcase for .rename().

parent e0821830
......@@ -68,3 +68,6 @@ f.write("data in file")
assert vfs.listdir("foo_dir") == ['file-in-dir.txt']
vfs.rename("foo_dir/file-in-dir.txt", "moved-to-root.txt")
assert vfs.listdir() == ['foo_dir', 'moved-to-root.txt']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment