when rootless, blank instead of block rootdir

This commit is contained in:
ed
2021-06-08 18:35:55 +02:00
parent acd8149479
commit 4dd5d4e1b7
3 changed files with 11 additions and 6 deletions

View File

@@ -251,7 +251,7 @@ class TestVFS(unittest.TestCase):
n = au.vfs
# root was not defined, so PWD with no access to anyone
self.assertEqual(n.vpath, "")
self.assertEqual(n.realpath, td)
self.assertEqual(n.realpath, None)
self.assertEqual(n.uread, [])
self.assertEqual(n.uwrite, [])
self.assertEqual(len(n.nodes), 1)