Fixing broken tests #2126

- KMS
- S3
- CloudFormation (Thanks kgutwin!)
This commit is contained in:
Mike Grima 2019-03-25 13:19:01 -07:00
commit 921b5a3227
5 changed files with 10 additions and 8 deletions

View file

@ -448,8 +448,8 @@ def test_short_form_func_in_yaml_teamplate():
KeySplit: !Split [A, B]
KeySub: !Sub A
"""
yaml.add_multi_constructor('', yaml_tag_constructor)
template_dict = yaml.load(template)
yaml.add_multi_constructor('', yaml_tag_constructor, Loader=yaml.Loader)
template_dict = yaml.load(template, Loader=yaml.Loader)
key_and_expects = [
['KeyRef', {'Ref': 'foo'}],
['KeyB64', {'Fn::Base64': 'valueToEncode'}],