moto/moto/sns
aantillonl d382731a14
Remove duplicate template of SNS error response (#3647)
In e9dc5edf7f a custom error template
was added to correct the response returned by get_endpoint_attributes
for a non-existent endpoint.

However, after some more inspection, it was found that a valid
template already existed in moto/sns/responses.py.

This commit removes the template introduced in e9dc5ed and takes
into use the existing template.

It is a marginal improvement, but helps keeping a cleaner code
base

Co-authored-by: Antillon, Alejandro <alejandro.antillon@f-secure.com>
2021-02-01 14:58:48 +00:00
..
__init__.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
exceptions.py Remove duplicate template of SNS error response (#3647) 2021-02-01 14:58:48 +00:00
models.py Update SNS get_endpoint_attributes response for Not Found endpoints (#3637) 2021-01-31 12:29:10 +00:00
responses.py Remove duplicate template of SNS error response (#3647) 2021-02-01 14:58:48 +00:00
urls.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
utils.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00