moto/tests/test_wafv2/test_wafv2_rules.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
232 B
Python
Raw Permalink Normal View History

2022-09-10 13:30:45 +00:00
import boto3
2024-01-07 12:03:33 +00:00
from moto import mock_aws
2022-09-10 13:30:45 +00:00
2024-01-07 12:03:33 +00:00
@mock_aws
2022-09-10 13:30:45 +00:00
def test_list_rule_groups():
client = boto3.client("wafv2", region_name="us-east-2")
resp = client.list_rule_groups(Scope="CLOUDFRONT")
assert resp["RuleGroups"] == []