diff --git a/moto/core/responses.py b/moto/core/responses.py index e0966128..d74bcd2e 100644 --- a/moto/core/responses.py +++ b/moto/core/responses.py @@ -7,9 +7,6 @@ from moto.core.utils import headers_to_dict, camelcase_to_underscores, method_na class BaseResponse(object): - def dispatch2(self, uri, method, body, headers): - return self.dispatch(uri, method, body, headers) - def dispatch(self, uri, method, body, headers): if body: querystring = parse_qs(body) diff --git a/moto/sqs/urls.py b/moto/sqs/urls.py index 26dd650e..80fe2759 100644 --- a/moto/sqs/urls.py +++ b/moto/sqs/urls.py @@ -5,6 +5,6 @@ url_bases = [ ] url_paths = { - '{0}/$': QueuesResponse().dispatch2, + '{0}/$': QueuesResponse().dispatch, '{0}/(?P\d+)/(?P[a-zA-Z0-9\-_]+)': QueueResponse().dispatch, }