Skip to content

Commit 62f82b8

Browse files
committed
update tests
1 parent 2ade140 commit 62f82b8

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

test/integration/test_schema_files.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class TestSchemaFiles(TestCase):
4343
"Resources",
4444
"Resources/*",
4545
"Resources/*/Condition",
46+
"Resources/*/CreationPolicy",
4647
"Resources/*/DeletionPolicy",
4748
"Resources/*/DependsOn",
4849
"Resources/*/DependsOn/*",

test/unit/rules/resources/test_creationpolicy.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ def template():
154154
},
155155
[],
156156
),
157+
(
158+
"Invalid but integer name ",
159+
{"ResourceSignal": {"Timeout": "PT15M", "Count": "five"}},
160+
{
161+
"path": deque(["Resources", 1, "CreationPolicy"]),
162+
},
163+
[],
164+
),
157165
],
158166
indirect=["path"],
159167
)

0 commit comments

Comments
 (0)