Skip to content

Commit

Permalink
test: always use MOCK_CREDENTIALS in tests (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 committed Apr 27, 2021
1 parent fc8cf4d commit d500e83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_discovery.py
Expand Up @@ -632,7 +632,9 @@ def test_api_endpoint_override_from_client_options_mapping_object(self):
api_endpoint = "https://foo.googleapis.com/"
mapping_object = defaultdict(str)
mapping_object["api_endpoint"] = api_endpoint
plus = build_from_document(discovery, client_options=mapping_object)
plus = build_from_document(
discovery, client_options=mapping_object, credentials=self.MOCK_CREDENTIALS
)

self.assertEqual(plus._baseUrl, api_endpoint)

Expand Down

0 comments on commit d500e83

Please sign in to comment.