Skip to content

Commit 966eb00

Browse files
committed
tests/run-tests.py: Implement getcwd on __FS hook filesystem.
This method is needed by tests like `extmod/vfs_rom.py`. Signed-off-by: Damien George <[email protected]>
1 parent 510e055 commit 966eb00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/run-tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ def umount(self):
8484
pass
8585
def chdir(self, path):
8686
pass
87+
def getcwd(self):
88+
return ""
8789
def stat(self, path):
8890
if path == '__injected_test.mpy':
8991
return tuple(0 for _ in range(10))

0 commit comments

Comments
 (0)