File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -630,13 +630,13 @@ def get_property_validation_rules(self):
630630 resource .ConditionalVar3 = None
631631 resource .validate_before_transform (self .TestProperties )
632632
633- # Test 3: When NestedSetting1.NestedVar1="test", NestedSetting2.NestedVar2 should NOT be present
633+ # Test 3: When NestedSetting1.NestedVar1="test", NestedSetting2.NestedVar2=22 should NOT be present
634634 resource .NestedSetting1 = {"NestedVar1" : "test" }
635- resource .NestedSetting2 = {"NestedVar2" : "value2" }
635+ resource .NestedSetting2 = {"NestedVar2" : 22 }
636636 with self .assertRaises (InvalidResourceException ) as error_3 :
637637 resource .validate_before_transform (self .TestProperties )
638638 self .assertIn (
639- "'NestedSetting1.NestedVar1=test' cannot be used with 'NestedSetting2.NestedVar2'" ,
639+ "'NestedSetting1.NestedVar1=test' cannot be used with 'NestedSetting2.NestedVar2=22 '" ,
640640 error_3 .exception .message ,
641641 )
642642
You can’t perform that action at this time.
0 commit comments