diff --git a/tripleoclient/tests/fakes.py b/tripleoclient/tests/fakes.py index 5b0cc6868..5d783c2e1 100644 --- a/tripleoclient/tests/fakes.py +++ b/tripleoclient/tests/fakes.py @@ -186,26 +186,6 @@ class FakePlaybookExecution(utils.TestCommand): self.execution.id = "IDID" self.workflow.executions.create.return_value = self.execution - config_mock = mock.patch( - 'tripleo_common.actions.config.GetOvercloudConfig', - autospec=True - ) - config_mock.start() - self.addCleanup(config_mock.stop) - - self.ansible = mock.patch( - 'tripleo_common.actions.ansible.AnsibleGenerateInventoryAction', - autospec=True - ) - self.ansible.start() - self.addCleanup(self.ansible.stop) - - self.config_action = mock.patch( - 'tripleo_common.actions.config.DownloadConfigAction', - autospec=True - ) - self.config_action.start() - self.addCleanup(self.config_action.stop) get_key = mock.patch('tripleoclient.utils.get_key') get_key.start() get_key.return_value = 'keyfile-path' diff --git a/tripleoclient/tests/workflows/test_deployment.py b/tripleoclient/tests/workflows/test_deployment.py index c393a02eb..31fd37fc0 100644 --- a/tripleoclient/tests/workflows/test_deployment.py +++ b/tripleoclient/tests/workflows/test_deployment.py @@ -37,24 +37,6 @@ class TestDeploymentWorkflows(utils.TestCommand): tc.create_mistral_context = plugin.ClientWrapper( instance=FakeInstanceData ).create_mistral_context - self.gcn = mock.patch( - 'tripleo_common.actions.config.DownloadConfigAction', - autospec=True - ) - self.gcn.start() - self.addCleanup(self.gcn.stop) - self.ansible = mock.patch( - 'tripleo_common.actions.ansible.AnsibleGenerateInventoryAction', - autospec=True - ) - self.ansible.start() - self.addCleanup(self.ansible.stop) - config_mock = mock.patch( - 'tripleo_common.actions.config.GetOvercloudConfig', - autospec=True - ) - config_mock.start() - self.addCleanup(config_mock.stop) self.message_success = iter([{ "execution": {"id": "IDID"}, "status": "SUCCESS",