MCPcopy Create free account
hub / github.com/Kaggle/docker-python / _make_credentials

Function _make_credentials

tests/test_translation.py:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9from google.cloud import translate_v3 as translate, translate_v2
10
11def _make_credentials():
12 import google.auth.credentials
13 return Mock(spec=google.auth.credentials.Credentials)
14
15class TestCloudTranslation(unittest.TestCase):
16 class FakeClient:

Calls

no outgoing calls

Tested by

no test coverage detected