diff --git a/tests/rules/test_S3LifecycleConfigurationRule.py b/tests/rules/test_S3LifecycleConfigurationRule.py index 4d7f5751..0c1ef036 100644 --- a/tests/rules/test_S3LifecycleConfigurationRule.py +++ b/tests/rules/test_S3LifecycleConfigurationRule.py @@ -17,7 +17,6 @@ def bad_template_no_configuration(): "template_path", [ "rules/S3LifecycleConfiguration/good_template.yaml", - "rules/S3LifecycleConfiguration/allowed_template_malformed_lifecycle_rules.yaml", ], ) def test_no_failures_are_raised(template_path): diff --git a/tests/test_templates/rules/S3LifecycleConfiguration/allowed_template_malformed_lifecycle_rules.yaml b/tests/test_templates/rules/S3LifecycleConfiguration/allowed_template_malformed_lifecycle_rules.yaml deleted file mode 100644 index e7d158fe..00000000 --- a/tests/test_templates/rules/S3LifecycleConfiguration/allowed_template_malformed_lifecycle_rules.yaml +++ /dev/null @@ -1,10 +0,0 @@ -Resources: - OutputBucket: - Type: AWS::S3::Bucket - Properties: - BucketName: "foo" - AccessControl: BucketOwnerFullControl - LifecycleConfiguration: - # This is not valid for LifecycleConfiguration, but CFRipper will not parse it right now. - - aa - - bb