Skip to content

Commit 7dffb23

Browse files
committed
Testing: unskip tests that require create stack
1 parent c2220c0 commit 7dffb23

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

tests/aws/services/cloudformation/v2/ported_from_v1/api/test_changesets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,7 @@ def _check_changeset_available():
906906
snapshot.match("postdelete_changeset_notfound", e.value)
907907

908908

909+
@pytest.mark.skip("CFNV2:Capabilities")
909910
@markers.aws.validated
910911
def test_autoexpand_capability_requirement(cleanups, aws_client):
911912
stack_name = f"test-stack-{short_uid()}"

tests/aws/services/cloudformation/v2/ported_from_v1/resources/test_stack_sets.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def _operation_is_ready():
3030
return waiter
3131

3232

33+
@pytest.mark.skip("CFNV2:StackSets")
3334
@markers.aws.validated
3435
def test_create_stack_set_with_stack_instances(
3536
account_id,

tests/aws/services/cloudformation/v2/ported_from_v1/test_template_engine.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def test_macro_deployment(
644644
snapshot.match("stack_outputs", stack_with_macro.outputs)
645645
snapshot.match("stack_resource_descriptions", description)
646646

647-
@pytest.mark.skip(reason="CFNV2:Provider create_stack not ported")
647+
@pytest.mark.skip("CFNV2:GetTemplate")
648648
@markers.aws.validated
649649
@markers.snapshot.skip_snapshot_verify(
650650
paths=[
@@ -914,7 +914,7 @@ def test_capabilities_requirements(
914914
snapshot.add_transformer(snapshot.transform.key_value("RoleName", "role-name"))
915915
snapshot.match("processed_template", processed_template)
916916

917-
@pytest.mark.skip(reason="CFNV2:Provider create_stack not ported")
917+
@pytest.mark.skip("CFNV2:GetTemplate")
918918
@markers.aws.validated
919919
@markers.snapshot.skip_snapshot_verify(
920920
paths=[
@@ -976,6 +976,7 @@ def test_validate_lambda_internals(
976976
processed_template["TemplateBody"]["Resources"]["Parameter"]["Properties"]["Value"],
977977
)
978978

979+
@pytest.mark.skip("CFNV2:Validation")
979980
@markers.aws.validated
980981
def test_to_validate_template_limit_for_macro(
981982
self, deploy_cfn_template, create_lambda_function, snapshot, aws_client
@@ -1029,6 +1030,7 @@ def test_to_validate_template_limit_for_macro(
10291030
)
10301031
snapshot.match("error_response", response)
10311032

1033+
@pytest.mark.skip("CFNV2:Validation")
10321034
@markers.aws.validated
10331035
def test_error_pass_macro_as_reference(self, snapshot, aws_client):
10341036
"""
@@ -1050,7 +1052,7 @@ def test_error_pass_macro_as_reference(self, snapshot, aws_client):
10501052
)
10511053
snapshot.match("error", ex.value.response)
10521054

1053-
@pytest.mark.skip(reason="CFNV2:Provider create_stack not ported")
1055+
@pytest.mark.skip("CFNV2:GetTemplate")
10541056
@markers.aws.validated
10551057
def test_functions_and_references_during_transformation(
10561058
self, deploy_cfn_template, create_lambda_function, snapshot, cleanups, aws_client

0 commit comments

Comments
 (0)