diff --git a/tripleo_common/actions/deployment.py b/tripleo_common/actions/deployment.py index 3047c789b..766efed87 100644 --- a/tripleo_common/actions/deployment.py +++ b/tripleo_common/actions/deployment.py @@ -202,14 +202,14 @@ class OvercloudRcAction(base.TripleOAction): stack = orchestration_client.stacks.get(self.container) except heat_exc.HTTPNotFound: error = ( - "The Heat stack {} cound not be found. Make sure you have " + "The Heat stack {} could not be found. Make sure you have " "deployed before calling this action.").format(self.container) return mistral_workflow_utils.Result(error=error) try: environment = workflow_client.environments.get(self.container) except mistralclient_exc.APIException: - error = "The Mistral environment {} cound not be found.".format( + error = "The Mistral environment {} could not be found.".format( self.container) return mistral_workflow_utils.Result(error=error) diff --git a/tripleo_common/tests/actions/test_deployment.py b/tripleo_common/tests/actions/test_deployment.py index 4510e51a3..37c83b2d8 100644 --- a/tripleo_common/tests/actions/test_deployment.py +++ b/tripleo_common/tests/actions/test_deployment.py @@ -279,7 +279,7 @@ class OvercloudRcActionTestCase(base.TestCase): result = action.run() self.assertEqual(result.error, ( - "The Heat stack overcast cound not be found. Make sure you have " + "The Heat stack overcast could not be found. Make sure you have " "deployed before calling this action." )) @@ -299,7 +299,7 @@ class OvercloudRcActionTestCase(base.TestCase): self.assertEqual( result.error, - "The Mistral environment overcast cound not be found.") + "The Mistral environment overcast could not be found.") @mock.patch('tripleo_common.actions.base.TripleOAction.' 'get_workflow_client')