diff options
author | rexlee8776 <limingjiang@huawei.com> | 2016-08-15 12:08:48 +0000 |
---|---|---|
committer | rexlee8776 <limingjiang@huawei.com> | 2016-08-15 15:28:51 +0000 |
commit | dc2a70ed32ac3a7919d0891b50bb621b226d5bc9 (patch) | |
tree | 267573658bb630a98987aa16673c2caf6efebe48 /tests/unit | |
parent | 1a31405923f0007e3aaaf36f174b268ed99fa368 (diff) |
bug fix: ssh authentiation error when run compass scenario in fuel
JIRA: YARDSTICK-319
Change-Id: I25ee9a2582c751024b30e91eabf77aebb14a02f7
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/test_ssh.py | 4 |
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) |