diff options
author | Red_M <pooatyou.com@gmail.com> | 2018-05-29 20:25:00 +1000 |
---|---|---|
committer | Red_M <pooatyou.com@gmail.com> | 2018-05-29 20:25:00 +1000 |
commit | a2420d0dcd72e92e9ada1711b2425d4b19012c27 (patch) | |
tree | 27c85a59dc76cd45a208eeab829d1f5e913eb20c /tests | |
parent | 501217ccc2ef169b5dcbcf7f618380100b0e9126 (diff) | |
download | pexpect-git-a2420d0dcd72e92e9ada1711b2425d4b19012c27.tar.gz |
Update pxssh test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_pxssh.py | 2 |
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: |