Skip to content

Commit 9d2125c

Browse files
committed
address comments
1 parent 7f854fb commit 9d2125c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)