summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRed_M <pooatyou.com@gmail.com>2018-03-30 12:48:37 +1000
committerRed_M <pooatyou.com@gmail.com>2018-03-30 12:48:37 +1000
commit852f6bb1e99bc1db2d12fbea8bc5a7a9d4bf7221 (patch)
treeefe7685f5bca86e50654f6efc0586acc9a9b4d85
parent9dee430dd571dba498484b15487d9ad40ced2c8b (diff)
downloadpexpect-852f6bb1e99bc1db2d12fbea8bc5a7a9d4bf7221.tar.gz
Fix bug in remote SSH tunneling test.
-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 2371462..285ec73 100644
--- a/tests/test_pxssh.py
+++ b/tests/test_pxssh.py
@@ -76,7 +76,7 @@ class PxsshTestCase(SSHTestBase):
tunnels = { 'local': ['2424:localhost:22'],'remote': ['2525:localhost:22'],
'dynamic': [8888] }
confirmation_strings = 0
- confirmation_array = ['-R \'2525:localhost:22\'','-L \'2424:localhost:22\'','-D \'8888\'']
+ confirmation_array = ['-R 2525:localhost:22','-L 2424:localhost:22','-D 8888']
string = ssh.login('server', 'me', password='s3cret', ssh_tunnels=tunnels, spawn_local_ssh=False)
for confirmation in confirmation_array:
if confirmation in string: