From 84753aeac558f144146a453f659fcd2172bb3a18 Mon Sep 17 00:00:00 2001 From: beeva-antonioirizar Date: Wed, 17 Feb 2016 17:44:20 +0100 Subject: [PATCH] fix name method in the last commit --- moto/route53/responses.py | 2 +- moto/route53/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/moto/route53/responses.py b/moto/route53/responses.py index 31c69cbf6..edd766b01 100644 --- a/moto/route53/responses.py +++ b/moto/route53/responses.py @@ -113,7 +113,7 @@ def health_check_response(request, full_url, headers): health_checks = route53_backend.get_health_checks() return 200, headers, template.render(health_checks=health_checks) -def not_implemented_methods(request, full_url, headers): +def not_implemented_response(request, full_url, headers): action = '' if 'tags' in full_url: action = 'tags' diff --git a/moto/route53/urls.py b/moto/route53/urls.py index e0c620b6a..1f0470a04 100644 --- a/moto/route53/urls.py +++ b/moto/route53/urls.py @@ -10,5 +10,5 @@ url_paths = { '{0}hostedzone/[^/]+$': responses.get_or_delete_hostzone_response, '{0}hostedzone/[^/]+/rrset$': responses.rrset_response, '{0}healthcheck': responses.health_check_response, - '{0}tags|trafficpolicyinstances/*': responses.not_implemented, + '{0}tags|trafficpolicyinstances/*': responses.not_implemented_response, }