Skip to content

Commit

Permalink
added test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jnayak-moj committed Dec 3, 2024
1 parent 0bad98a commit 37dd249
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_iam_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ class TestConfigOutputs(unittest.TestCase):
"glue_job",
"all_config",
"secrets",
"secrets_readwrite"
"secrets_readwrite",
"secrestmanager_read_only"
]
)
def test_config_output(self, config_name):
Expand All @@ -93,6 +94,8 @@ class TestBadConfigs(unittest.TestCase):
("bad_read_only_not_list", IAMValidationError),
("bad_s3_config", IAMValidationError),
("bad_yaml", ParserError),
("bad_secrestmanager_read_write", IAMValidationError),
("bad_secrestmanager_write_only", IAMValidationError)
]
)
def test_config_error(self, config_name, error_type):
Expand Down

0 comments on commit 37dd249

Please sign in to comment.