diff --git a/test/unit/aws/test_deploy_codebuild.py b/test/unit/aws/test_deploy_codebuild.py deleted file mode 100644 index e9234d3a..00000000 --- a/test/unit/aws/test_deploy_codebuild.py +++ /dev/null @@ -1,29 +0,0 @@ -import pytest - -from exasol.ds.sandbox.lib.aws_access.aws_access import AwsAccess -from exasol.ds.sandbox.lib.render_template import render_template -from test.integration.aws.cloudformation_validation import validate_using_cfn_lint -from exasol.ds.sandbox.lib.asset_id import AssetId - - -codebuild_cloudformation_templates = [ - render_template( - "ci_code_build.jinja.yaml", - vm_bucket="test-bucket-123"), - render_template( - "release_code_build.jinja.yaml", - vm_bucket="test-bucket-123", - path_in_bucket=AssetId.BUCKET_PREFIX, - dockerhub_secret_arn="secret_arn") -] - - -@pytest.mark.parametrize("cloudformation_template", codebuild_cloudformation_templates) -def test_deploy_ci_codebuild_template(cloudformation_template): - aws_access = AwsAccess(None) - aws_access.validate_cloudformation_template(cloudformation_template) - - -@pytest.mark.parametrize("cloudformation_template", codebuild_cloudformation_templates) -def test_deploy_ci_codebuild_template_with_cnf_lint(tmp_path, cloudformation_template): - validate_using_cfn_lint(tmp_path, cloudformation_template)