diff options
Diffstat (limited to 'tests/unittests/sources/test_cloudstack.py')
-rw-r--r-- | tests/unittests/sources/test_cloudstack.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/unittests/sources/test_cloudstack.py b/tests/unittests/sources/test_cloudstack.py index f7c69f91..b37400d3 100644 --- a/tests/unittests/sources/test_cloudstack.py +++ b/tests/unittests/sources/test_cloudstack.py @@ -40,6 +40,11 @@ class TestCloudStackPasswordFetching(CiTestCase): get_networkd_server_address, ) ) + get_data_server = mock.MagicMock(return_value=None) + self.patches.enter_context( + mock.patch(mod_name + ".get_data_server", get_data_server) + ) + self.tmp = self.tmp_dir() def _set_password_server_response(self, response_string): |