Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergargar committed Oct 22, 2024
1 parent c5c5999 commit 47a1452
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def test_waf_no_rules_and_no_rule_group(self):
assert result[0].resource_id == WEB_ACL_ID
assert (
result[0].resource_arn
== f"arn:aws:waf:{AWS_ACCOUNT_NUMBER}:webacl/{WEB_ACL_ID}"
== f"arn:aws:waf:{AWS_REGION_US_EAST_1}:{AWS_ACCOUNT_NUMBER}:webacl/{WEB_ACL_ID}"
)
assert result[0].region == AWS_REGION_US_EAST_1

Expand Down Expand Up @@ -301,7 +301,7 @@ def test_waf_rules_and_no_rule_group(self):
assert result[0].resource_id == WEB_ACL_ID
assert (
result[0].resource_arn
== f"arn:aws:waf:{AWS_ACCOUNT_NUMBER}:webacl/{WEB_ACL_ID}"
== f"arn:aws:waf:{AWS_REGION_US_EAST_1}:{AWS_ACCOUNT_NUMBER}:webacl/{WEB_ACL_ID}"
)
assert result[0].region == AWS_REGION_US_EAST_1

Expand Down Expand Up @@ -340,7 +340,7 @@ def test_waf_no_rules_and_rule_group(self):
assert result[0].resource_id == WEB_ACL_ID
assert (
result[0].resource_arn
== f"arn:aws:waf:{AWS_ACCOUNT_NUMBER}:webacl/{WEB_ACL_ID}"
== f"arn:aws:waf:{AWS_REGION_US_EAST_1}:{AWS_ACCOUNT_NUMBER}:webacl/{WEB_ACL_ID}"
)
assert result[0].region == AWS_REGION_US_EAST_1

Expand Down Expand Up @@ -376,6 +376,6 @@ def test_waf_rules_and_rule_group(self):
assert result[0].resource_id == WEB_ACL_ID
assert (
result[0].resource_arn
== f"arn:aws:waf:{AWS_ACCOUNT_NUMBER}:webacl/{WEB_ACL_ID}"
== f"arn:aws:waf:{AWS_REGION_US_EAST_1}:{AWS_ACCOUNT_NUMBER}:webacl/{WEB_ACL_ID}"
)
assert result[0].region == AWS_REGION_US_EAST_1

0 comments on commit 47a1452

Please sign in to comment.