summaryrefslogtreecommitdiffstats
path: root/tests/unit/test_tempest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/test_tempest.py')
-rw-r--r--tests/unit/test_tempest.py3
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()