summaryrefslogtreecommitdiff
path: root/test-sftpfs
diff options
context:
space:
mode:
Diffstat (limited to 'test-sftpfs')
-rw-r--r--test-sftpfs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-sftpfs b/test-sftpfs
index 50e81d22..49d4f62c 100644
--- a/test-sftpfs
+++ b/test-sftpfs
@@ -40,6 +40,9 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests):
def tearDown(self):
self.fs.close()
+ def test_initial_cwd_is_basepath(self):
+ self.assertEqual(self.fs.getcwd(), self.fs.basepath)
+
if __name__ == '__main__':
unittest.main()