moto/moto/route53
Don Kuntz 35507f33df
Don't error out on route53.list_tags_for_resource when resource has no tags
Without the added `return {}`, calling route53.list_tags_for_resource
when called with a ResourceId of a resource without any tags would
result in the error:
    jinja2.exceptions.UndefinedError: 'None' has no attribute 'items'

Because the LIST_TAGS_FOR_RESOURCE_RESPONSE was given None instead of
empty dict.

This now allows list_tags_for_resource to be called without issue on
tag-less resources.
2019-08-28 13:57:42 -05:00
..
__init__.py Get standalone server mode working for all tests. 2017-02-23 19:43:48 -05:00
models.py Don't error out on route53.list_tags_for_resource when resource has no tags 2019-08-28 13:57:42 -05:00
responses.py Merge branch 'master' into mark-alias-target 2019-07-07 23:11:53 -05:00
urls.py Add ListHostedZonesByName 2017-03-13 15:27:45 +00:00