diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2012-11-28 19:21:53 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2012-11-28 19:21:53 +0000 |
commit | e92c9d120dfb34331b1d017e0c5e1e128d04047a (patch) | |
tree | 56911c6bf06c0879e6dab8af521528a90b04d376 | |
parent | 7b002c1bb0df0fa95f8801bb9ccbb578daaefda8 (diff) | |
download | pyfilesystem-git-e92c9d120dfb34331b1d017e0c5e1e128d04047a.tar.gz |
Fix for mountfs tests
-rw-r--r-- | fs/tests/test_fs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/tests/test_fs.py b/fs/tests/test_fs.py index c816abd..6414b2d 100644 --- a/fs/tests/test_fs.py +++ b/fs/tests/test_fs.py @@ -72,7 +72,7 @@ class TestMountFS(unittest.TestCase,FSTestCases,ThreadingTestCases): self.fs.close() def check(self, p): - return self.mount_fs.exists(os.path.join("mounted/memfs", relpath(p))) + return self.mount_fs.exists(pathjoin("mounted/memfs", relpath(p))) class TestMountFS_atroot(unittest.TestCase,FSTestCases,ThreadingTestCases): @@ -101,7 +101,7 @@ class TestMountFS_stacked(unittest.TestCase,FSTestCases,ThreadingTestCases): self.fs.close() def check(self, p): - return self.mount_fs.exists(os.path.join("mem/two", relpath(p))) + return self.mount_fs.exists(pathjoin("mem/two", relpath(p))) from fs import tempfs |