Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Aug 16, 2024
1 parent 2ade140 commit 62f82b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/test_schema_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class TestSchemaFiles(TestCase):
"Resources",
"Resources/*",
"Resources/*/Condition",
"Resources/*/CreationPolicy",
"Resources/*/DeletionPolicy",
"Resources/*/DependsOn",
"Resources/*/DependsOn/*",
Expand Down
8 changes: 8 additions & 0 deletions test/unit/rules/resources/test_creationpolicy.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ def template():
},
[],
),
(
"Invalid but integer name ",
{"ResourceSignal": {"Timeout": "PT15M", "Count": "five"}},
{
"path": deque(["Resources", 1, "CreationPolicy"]),
},
[],
),
],
indirect=["path"],
)
Expand Down

0 comments on commit 62f82b8

Please sign in to comment.