[Trivial Fix] modify spelling error of "resource"
Although it is spelling mistakes, it affects reading. Change-Id: Id6f473072c2c6b8e6299eb74f5cbfba036e1cb79
This commit is contained in:
parent
429d7139fb
commit
75df78f5f2
|
@ -64,7 +64,7 @@ def error_response(status, error_code, description, data=None):
|
||||||
|
|
||||||
NOT_FOUND_RESPONSE = error_response(httplib.NOT_FOUND,
|
NOT_FOUND_RESPONSE = error_response(httplib.NOT_FOUND,
|
||||||
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,
|
NOT_SUPPORTED_RESPONSE = error_response(httplib.NOT_IMPLEMENTED,
|
||||||
httplib.NOT_IMPLEMENTED,
|
httplib.NOT_IMPLEMENTED,
|
||||||
"Method not supported")
|
"Method not supported")
|
||||||
|
|
|
@ -80,7 +80,7 @@ class TestApiApplication(base.TestCase):
|
||||||
if expected_status == 500:
|
if expected_status == 500:
|
||||||
description = "Internal server error"
|
description = "Internal server error"
|
||||||
elif expected_status == 404:
|
elif expected_status == 404:
|
||||||
description = "The resouce could not be found."
|
description = "The resource could not be found."
|
||||||
else:
|
else:
|
||||||
self.fail("Unsupported expected_status value.")
|
self.fail("Unsupported expected_status value.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue