summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRed_M <pooatyou.com@gmail.com>2018-03-30 11:58:22 +1000
committerRed_M <pooatyou.com@gmail.com>2018-03-30 11:58:22 +1000
commitdedfd4e78a28d05530c3e8e33987a399fec8b934 (patch)
tree6c563970e14bfd78f93a314775f07213f3e24e58 /tests
parent87328aa7a53b401fb044e6c816d2371a6b4f8dd8 (diff)
downloadpexpect-git-dedfd4e78a28d05530c3e8e33987a399fec8b934.tar.gz
Add output for failure in test.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pxssh.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_pxssh.py b/tests/test_pxssh.py
index ee35bdd..0944fc5 100644
--- a/tests/test_pxssh.py
+++ b/tests/test_pxssh.py
@@ -64,6 +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:
+ print(string)
assert False, 'String generated from tunneling is potientally incorrect.'