summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2012-11-28 19:21:53 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2012-11-28 19:21:53 +0000
commit9265213453290686dea381b127481475e17b67bd (patch)
tree56911c6bf06c0879e6dab8af521528a90b04d376
parent20698a3870f2cd14b588b6084e2372e88bdd8539 (diff)
downloadpyfilesystem-9265213453290686dea381b127481475e17b67bd.tar.gz
Fix for mountfs tests
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@834 67cdc799-7952-0410-af00-57a81ceafa0f
-rw-r--r--fs/tests/test_fs.py4
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