summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRed_M <pooatyou.com@gmail.com>2018-05-29 20:25:00 +1000
committerRed_M <pooatyou.com@gmail.com>2018-05-29 20:25:00 +1000
commita2420d0dcd72e92e9ada1711b2425d4b19012c27 (patch)
tree27c85a59dc76cd45a208eeab829d1f5e913eb20c /tests
parent501217ccc2ef169b5dcbcf7f618380100b0e9126 (diff)
downloadpexpect-git-a2420d0dcd72e92e9ada1711b2425d4b19012c27.tar.gz
Update pxssh test.
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 d5a5bc4..5f82302 100644
--- a/tests/test_pxssh.py
+++ b/tests/test_pxssh.py
@@ -105,8 +105,8 @@ class PxsshTestCase(SSHTestBase):
assert False, 'String generated from forcing the SSH agent sock is incorrect.'
confirmation_strings = 0
- confirmation_array = [' -i True']
(temp_file,ssh_key) = tempfile.mkstemp()
+ confirmation_array = [' -i '+ssh_key]
string = ssh.login('server', 'me', password='s3cret', ssh_key=ssh_key)
for confirmation in confirmation_array:
if confirmation in string: