summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorliang gao <jean.gaoliang@huawei.com>2016-08-15 15:37:26 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-15 15:37:26 +0000
commit8361073662d580803f1da030b9f9bd4203bbaecb (patch)
tree406f8dfa7742b71c8416f65c6847877ea0415fa6 /tests
parent57e7210178c975b3e29fb8ef5be459f9ce93e646 (diff)
parentdc2a70ed32ac3a7919d0891b50bb621b226d5bc9 (diff)
Merge "bug fix: ssh authentiation error when run compass scenario in fuel"
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_ssh.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/test_ssh.py b/tests/unit/test_ssh.py
index 574da0343..a27052462 100644
--- a/tests/unit/test_ssh.py
+++ b/tests/unit/test_ssh.py
@@ -108,7 +108,9 @@ class SSHTestCase(unittest.TestCase):
mock.call.set_missing_host_key_policy("autoadd"),
mock.call.connect("example.net", username="admin",
port=22, pkey="key", key_filename=None,
- password=None, timeout=1),
+ password=None,
+ allow_agent=False, look_for_keys=False,
+ timeout=1),
]
self.assertEqual(client_calls, client.mock_calls)