diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-07-11 10:00:06 +1200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-07-11 10:00:06 +1200 |
commit | 4ef12a60f554839499b68239dbc6c0aac95f14d0 (patch) | |
tree | e6beaddf775ced3f752a64eb284b5d8e1541b67f /test-sftpfs | |
parent | 2cb2e9da5878dae955f4d50e1992fd7ae340fd2c (diff) | |
download | obnam-4ef12a60f554839499b68239dbc6c0aac95f14d0.tar.gz |
Add test to make sure initial working directory is correct.
Diffstat (limited to 'test-sftpfs')
-rw-r--r-- | test-sftpfs | 3 |
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() |