summaryrefslogtreecommitdiff
path: root/test-sftpfs
diff options
context:
space:
mode:
Diffstat (limited to 'test-sftpfs')
-rw-r--r--test-sftpfs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test-sftpfs b/test-sftpfs
index 5c816bf3..9f62da5d 100644
--- a/test-sftpfs
+++ b/test-sftpfs
@@ -47,8 +47,11 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests):
self.fs.close()
shutil.rmtree(self.basepath)
+ def test_sets_path_to_absolute_path(self):
+ self.assertEqual(self.fs.path.startswith('/'))
+
def test_initial_cwd_is_basepath(self):
- self.assertEqual(self.fs.getcwd(), self.fs.basepath)
+ self.assertEqual(self.fs.getcwd(), self.fs.path)
if __name__ == '__main__':