Fixing broken tests #2126
- KMS - S3 - CloudFormation (Thanks kgutwin!)
This commit is contained in:
parent
64152f4cda
commit
921b5a3227
5 changed files with 10 additions and 8 deletions
|
|
@ -85,9 +85,9 @@ class FakeStack(BaseModel):
|
|||
def _parse_template(self):
|
||||
yaml.add_multi_constructor('', yaml_tag_constructor)
|
||||
try:
|
||||
self.template_dict = yaml.load(self.template)
|
||||
self.template_dict = yaml.load(self.template, Loader=yaml.Loader)
|
||||
except yaml.parser.ParserError:
|
||||
self.template_dict = json.loads(self.template)
|
||||
self.template_dict = json.loads(self.template, Loader=yaml.Loader)
|
||||
|
||||
@property
|
||||
def stack_parameters(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue