From 852f6bb1e99bc1db2d12fbea8bc5a7a9d4bf7221 Mon Sep 17 00:00:00 2001 From: Red_M Date: Fri, 30 Mar 2018 12:48:37 +1000 Subject: Fix bug in remote SSH tunneling test. --- tests/test_pxssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_pxssh.py') 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: -- cgit v1.2.1