summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRed_M <pooatyou.com@gmail.com>2018-03-30 11:52:39 +1000
committerRed_M <pooatyou.com@gmail.com>2018-03-30 11:52:39 +1000
commit87328aa7a53b401fb044e6c816d2371a6b4f8dd8 (patch)
treead06987787b8b306f9050ed90e4c3e907655b73a /tests
parent681697525edb8c33bf8501a753edef46fc870581 (diff)
downloadpexpect-git-87328aa7a53b401fb044e6c816d2371a6b4f8dd8.tar.gz
Fix bug in test case.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pxssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pxssh.py b/tests/test_pxssh.py
index c89aa98..ee35bdd 100644
--- a/tests/test_pxssh.py
+++ b/tests/test_pxssh.py
@@ -64,7 +64,7 @@ class PxsshTestCase(SSHTestBase):
confirmation_string = 'ssh -q -R 2525:localhost:22 -L 2424:localhost:22 -D 8888 -l me server'
string = ssh.login('server', 'me', password='s3cret', ssh_tunnels=tunnels)
if string!=confirmation_string:
- raise False, 'String generated from tunneling is potientally incorrect.'
+ assert False, 'String generated from tunneling is potientally incorrect.'
if __name__ == '__main__':