Skip to content

Commit d500e83

Browse files
authored
test: always use MOCK_CREDENTIALS in tests (#1321)
1 parent fc8cf4d commit d500e83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_discovery.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,9 @@ def test_api_endpoint_override_from_client_options_mapping_object(self):
632632
api_endpoint = "https://foo.googleapis.com/"
633633
mapping_object = defaultdict(str)
634634
mapping_object["api_endpoint"] = api_endpoint
635-
plus = build_from_document(discovery, client_options=mapping_object)
635+
plus = build_from_document(
636+
discovery, client_options=mapping_object, credentials=self.MOCK_CREDENTIALS
637+
)
636638

637639
self.assertEqual(plus._baseUrl, api_endpoint)
638640

0 commit comments

Comments
 (0)