From c348e3e515334aaa87e8a79a7bc4c819c382a5a4 Mon Sep 17 00:00:00 2001 From: earthmant Date: Mon, 26 Jun 2017 19:16:47 +0300 Subject: [PATCH] fix test assert --- cloudify_boto3/cloudformation/tests/test_stack.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloudify_boto3/cloudformation/tests/test_stack.py b/cloudify_boto3/cloudformation/tests/test_stack.py index 4232c2d..b07d856 100644 --- a/cloudify_boto3/cloudformation/tests/test_stack.py +++ b/cloudify_boto3/cloudformation/tests/test_stack.py @@ -92,8 +92,9 @@ def test_create(self): create_stack.\ assert_called_with( StackName='test-cloudformation1', - TemplateBody=str({"AWSTemplateFormatVersion": "2010-09-09", - "Description": "A sample template"})) + TemplateBody= + '{"AWSTemplateFormatVersion": "2010-09-09",' + ' "Description": "A sample template"}') self.assertEqual(_ctx.instance.runtime_properties, RUNTIMEPROP_AFTER_CREATE)