diff --git a/heat/tests/clients/test_barbican_client.py b/heat/tests/clients/test_barbican_client.py index 6159ab70ea..4f07dc6817 100644 --- a/heat/tests/clients/test_barbican_client.py +++ b/heat/tests/clients/test_barbican_client.py @@ -32,6 +32,8 @@ class BarbicanClientPluginTest(common.HeatTestCase): self.barbican_plugin = c.client_plugin('barbican') self.barbican_plugin.client = lambda: self.barbican_client + @mock.patch('keystoneauth1.discover.get_version_data', + mock.MagicMock(return_value=[{'status': "STABLE"}])) def test_create(self): context = utils.dummy_context() plugin = context.clients.client_plugin('barbican')