summaryrefslogtreecommitdiff
path: root/test-sftpfs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-08-14 07:50:55 +0300
committerLars Wirzenius <liw@liw.fi>2015-08-14 08:38:01 +0300
commit77183fbd27a8327819247e770dce1a64e8043426 (patch)
tree10d6654f900368098ad2132be20dda03f42287d0 /test-sftpfs
parenta45a0fe8776ee972680ada47adc44a327b018e1e (diff)
downloadobnam-77183fbd27a8327819247e770dce1a64e8043426.tar.gz
Use assertTrue, not assert_, in test-sftp
Diffstat (limited to 'test-sftpfs')
-rwxr-xr-xtest-sftpfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-sftpfs b/test-sftpfs
index cfb0e810..83a6c745 100755
--- a/test-sftpfs
+++ b/test-sftpfs
@@ -61,7 +61,7 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests):
shutil.rmtree(self.basepath)
def test_sets_path_to_absolute_path(self):
- self.assert_(self.fs.path.startswith('/'))
+ self.assertTrue(self.fs.path.startswith('/'))
def test_resolves_magic_homedir_prefix(self):
baseurl = 'sftp://localhost/~/'