From 75df78f5f235351d39e18d5d59fef0d57b8e9169 Mon Sep 17 00:00:00 2001 From: inspurericzhang Date: Thu, 1 Nov 2018 10:55:51 +0800 Subject: [PATCH] [Trivial Fix] modify spelling error of "resource" Although it is spelling mistakes, it affects reading. Change-Id: Id6f473072c2c6b8e6299eb74f5cbfba036e1cb79 --- congress/api/webservice.py | 2 +- congress/tests/api/test_application.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/congress/api/webservice.py b/congress/api/webservice.py index cca761261..ffbc18050 100644 --- a/congress/api/webservice.py +++ b/congress/api/webservice.py @@ -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") diff --git a/congress/tests/api/test_application.py b/congress/tests/api/test_application.py index bf10fafa7..6591c6803 100644 --- a/congress/tests/api/test_application.py +++ b/congress/tests/api/test_application.py @@ -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.")