From 37dd2492d1b9e2fef00148de68ea5c2baa710835 Mon Sep 17 00:00:00 2001 From: "jyotiranjan.nayak@justice.gov.uk" Date: Tue, 3 Dec 2024 11:56:58 +0000 Subject: [PATCH] added test cases --- tests/test_iam_builder.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/test_iam_builder.py b/tests/test_iam_builder.py index 441baa5..b539de7 100644 --- a/tests/test_iam_builder.py +++ b/tests/test_iam_builder.py @@ -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): @@ -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):