From 01f25b9ed0f203eda46f1f49461efae9b17cab5b Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Mon, 30 Oct 2017 10:37:48 +0800 Subject: Missing parameters in tempest In patch 45763, client parameters were missed in some functions. Change-Id: Id311e9ee6c0f7b24fe81832e2de9787e4f5693d7 Signed-off-by: Alex Yang --- tests/unit/test_tempest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unit') 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() -- cgit 1.2.3-korg