diff --git a/tests/tests_e3_aws/cfn/arch/main_test.py b/tests/tests_e3_aws/cfn/arch/main_test.py index 1aedfd89..637776f6 100644 --- a/tests/tests_e3_aws/cfn/arch/main_test.py +++ b/tests/tests_e3_aws/cfn/arch/main_test.py @@ -44,6 +44,9 @@ GITHUB_API_RANGE = {"git": ["127.0.0.0/24", "2a0a:a440::/29"]} +@pytest.mark.skip( + reason="This test does not work offline and the associated feature is deprecated" +) @pytest.mark.parametrize("enable_github", [True, False]) def test_create_fortress(enable_github, requests_mock): if enable_github: @@ -108,6 +111,9 @@ def test_create_fortress(enable_github, requests_mock): assert f.body +@pytest.mark.skip( + reason="This test does not work offline and the associated feature is deprecated" +) def test_create_fortress_no_bastion(): aws_env = AWSEnv(regions=["us-east-1"], stub=True) with default_region("us-east-1"): diff --git a/tests/tests_e3_aws/troposphere/awslambda/awslambda_test.py b/tests/tests_e3_aws/troposphere/awslambda/awslambda_test.py index 1d71f1b1..00d56275 100644 --- a/tests/tests_e3_aws/troposphere/awslambda/awslambda_test.py +++ b/tests/tests_e3_aws/troposphere/awslambda/awslambda_test.py @@ -458,6 +458,9 @@ def test_pyfunction_policy_document(stack: Stack) -> None: assert stack.cfn_policy_document().as_dict == EXPECTED_PYFUNCTION_POLICY_DOCUMENT +@pytest.mark.skip( + reason="This test does not work in GitLab CI jobs. Disable it for now.", +) def test_docker_function(stack: Stack, has_docker: pytest.Fixture) -> None: """Test adding docker function to stack.""" aws_env = AWSEnv(regions=["us-east-1"], stub=True)