From 700b32fbcc6d86f9b308c6ebfce097ffc6b881f5 Mon Sep 17 00:00:00 2001 From: "Brad P. Crochet" Date: Tue, 6 Dec 2016 07:38:59 -0500 Subject: [PATCH] Change 'cound' to 'could' in error message Clean up a couple of typos in error messages. Change-Id: I57b559b053d2fb0e5406ba29f303309abc9c9875 --- tripleo_common/actions/deployment.py | 4 ++-- tripleo_common/tests/actions/test_deployment.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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')