From f18259d49e5e66929a793ec8105d32ccfcc70d21 Mon Sep 17 00:00:00 2001 From: Giorgos-Christos Dimitriou Date: Mon, 26 Mar 2018 22:26:24 +0300 Subject: [PATCH] Change REPONSE to RESPONSE for consistency (#1538) --- moto/route53/responses.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/moto/route53/responses.py b/moto/route53/responses.py index 00e5c60a5..6679e7945 100644 --- a/moto/route53/responses.py +++ b/moto/route53/responses.py @@ -150,7 +150,7 @@ class Route53(BaseResponse): elif method == "GET": querystring = parse_qs(parsed_url.query) - template = Template(LIST_RRSET_REPONSE) + template = Template(LIST_RRSET_RESPONSE) start_type = querystring.get("type", [None])[0] start_name = querystring.get("name", [None])[0] record_sets = the_zone.get_record_sets(start_type, start_name) @@ -182,9 +182,9 @@ class Route53(BaseResponse): elif method == "DELETE": health_check_id = parsed_url.path.split("/")[-1] route53_backend.delete_health_check(health_check_id) - return 200, headers, DELETE_HEALTH_CHECK_REPONSE + return 200, headers, DELETE_HEALTH_CHECK_RESPONSE elif method == "GET": - template = Template(LIST_HEALTH_CHECKS_REPONSE) + template = Template(LIST_HEALTH_CHECKS_RESPONSE) health_checks = route53_backend.get_health_checks() return 200, headers, template.render(health_checks=health_checks) @@ -248,7 +248,7 @@ CHANGE_TAGS_FOR_RESOURCE_RESPONSE = """ +LIST_RRSET_RESPONSE = """ {% for record_set in record_sets %} {{ record_set.to_xml() }} @@ -350,7 +350,7 @@ CREATE_HEALTH_CHECK_RESPONSE = """ {{ health_check.to_xml() }} """ -LIST_HEALTH_CHECKS_REPONSE = """ +LIST_HEALTH_CHECKS_RESPONSE = """ {% for health_check in health_checks %} @@ -361,6 +361,6 @@ LIST_HEALTH_CHECKS_REPONSE = """ {{ health_checks|length }} """ -DELETE_HEALTH_CHECK_REPONSE = """ +DELETE_HEALTH_CHECK_RESPONSE = """ """