[Trivial Fix] modify spelling error of "resource"

Although it is spelling mistakes, it affects reading.

Change-Id: Id6f473072c2c6b8e6299eb74f5cbfba036e1cb79
This commit is contained in:
inspurericzhang 2018-11-01 10:55:51 +08:00
parent 429d7139fb
commit 75df78f5f2
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ def error_response(status, error_code, description, data=None):
NOT_FOUND_RESPONSE = error_response(httplib.NOT_FOUND,
httplib.NOT_FOUND,
"The resouce could not be found.")
"The resource could not be found.")
NOT_SUPPORTED_RESPONSE = error_response(httplib.NOT_IMPLEMENTED,
httplib.NOT_IMPLEMENTED,
"Method not supported")

View File

@ -80,7 +80,7 @@ class TestApiApplication(base.TestCase):
if expected_status == 500:
description = "Internal server error"
elif expected_status == 404:
description = "The resouce could not be found."
description = "The resource could not be found."
else:
self.fail("Unsupported expected_status value.")