summaryrefslogtreecommitdiff
path: root/test-sftpfs
diff options
context:
space:
mode:
Diffstat (limited to 'test-sftpfs')
-rw-r--r--test-sftpfs6
1 files changed, 3 insertions, 3 deletions
diff --git a/test-sftpfs b/test-sftpfs
index c3eff5dd..5c816bf3 100644
--- a/test-sftpfs
+++ b/test-sftpfs
@@ -38,14 +38,14 @@ import obnamlib.plugins.sftp_plugin
class SftpTests(unittest.TestCase, obnamlib.VfsTests):
def setUp(self):
- self.dirname = tempfile.mkdtemp()
- baseurl = 'sftp://localhost/%s' % self.dirname
+ self.basepath = tempfile.mkdtemp()
+ baseurl = 'sftp://localhost/%s' % self.basepath
self.fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl)
self.fs.connect()
def tearDown(self):
self.fs.close()
- shutil.rmtree(self.dirname)
+ shutil.rmtree(self.basepath)
def test_initial_cwd_is_basepath(self):
self.assertEqual(self.fs.getcwd(), self.fs.basepath)