summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_rom.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/vfs_rom.py')
-rw-r--r--tests/extmod/vfs_rom.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/extmod/vfs_rom.py b/tests/extmod/vfs_rom.py
index dc88481c0..770b6863b 100644
--- a/tests/extmod/vfs_rom.py
+++ b/tests/extmod/vfs_rom.py
@@ -408,9 +408,11 @@ class TestMounted(TestBase):
def test_chdir(self):
os.chdir("/test_rom")
+ self.assertEqual(os.getcwd(), "/test_rom")
self.assertEqual(os.listdir(), self.romfs_listdir)
os.chdir("/test_rom/")
+ self.assertEqual(os.getcwd(), "/test_rom")
self.assertEqual(os.listdir(), self.romfs_listdir)
# chdir within the romfs is not implemented.