Skip to content

Commit

Permalink
Check for certificates in test_https_listener_rule_with_certificate_c…
Browse files Browse the repository at this point in the history
…loudformation
  • Loading branch information
Ivan-Lukianov committed Sep 9, 2024
1 parent e7ea58d commit d1027bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_elbv2/test_elbv2_cloudformation.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ def test_https_listener_rule_with_certificate_cloudformation():

listeners = elbv2_client.describe_listeners(LoadBalancerArn=load_balancer_arn)

print(listeners["Listeners"][0])
assert len(listeners["Listeners"]) == 1
assert listeners["Listeners"][0]["DefaultActions"] == [
{
Expand All @@ -416,3 +417,8 @@ def test_https_listener_rule_with_certificate_cloudformation():
},
}
]
assert listeners["Listeners"][0]['Certificates'] == [
{
'CertificateArn': certificate_arn
}
]

0 comments on commit d1027bc

Please sign in to comment.