Skip to content

Commit 6275015

Browse files
authored
Add the @pytest.mark.validates_models flag to two new tests (#9442)
1 parent 388a908 commit 6275015

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: tests/functional/botocore/test_endpoints.py

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def _computed_endpoint_prefixes():
8686
yield endpoint_prefix
8787

8888

89+
@pytest.mark.validates_models
8990
@pytest.mark.parametrize("endpoint_prefix", _computed_endpoint_prefixes())
9091
def test_endpoint_matches_service(known_endpoint_prefixes, endpoint_prefix):
9192
# We need to cross check all computed endpoints against our
@@ -102,6 +103,7 @@ def _available_services():
102103
return sorted(loader.list_available_services('service-2'))
103104

104105

106+
@pytest.mark.validates_models
105107
@pytest.mark.parametrize("service_name", _available_services())
106108
def test_client_name_matches_hyphenized_service_id(service_name):
107109
"""Generates tests for each service to verify that the computed service

0 commit comments

Comments
 (0)