diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-10-30 10:37:48 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-10-30 10:37:48 +0800 |
commit | 01f25b9ed0f203eda46f1f49461efae9b17cab5b (patch) | |
tree | d1834349028b8e3ecc514b497b9ee87795d4fb39 /tests/unit | |
parent | f39da158855d9346a129b0552b15c86ceb0f0df3 (diff) |
Missing parameters in tempest
In patch 45763, client parameters were missed in some functions.
Change-Id: Id311e9ee6c0f7b24fe81832e2de9787e4f5693d7
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/test_tempest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/test_tempest.py b/tests/unit/test_tempest.py index 34ab4073..b03b3c0f 100644 --- a/tests/unit/test_tempest.py +++ b/tests/unit/test_tempest.py @@ -121,7 +121,8 @@ def test_install_os_for_vm_step2(): def test_discover_host(mock_get_hosts, mock_sleep): hosts_name = ['computer01', 'computer02', 'controller01', 'controller02', 'controller03'] mock_get_hosts.return_value = hosts_name - discover_host(hosts_name) + client = StubTestClient() + discover_host(hosts_name, client) mock_sleep.assert_not_called() |