MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / test_default_response

Method test_default_response

tests/test_mocks.py:46–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44 self.zoo_http = HttpMock(datafile("zoo.json"), {"status": "200"})
45
46 def test_default_response(self):
47 requestBuilder = RequestMockBuilder({})
48 plus = build(
49 "plus",
50 "v1",
51 http=self.http,
52 requestBuilder=requestBuilder,
53 static_discovery=False,
54 )
55 activity = plus.activities().get(activityId="tag:blah").execute()
56 self.assertEqual({}, activity)
57
58 def test_simple_response(self):
59 requestBuilder = RequestMockBuilder(

Callers

nothing calls this directly

Calls 4

RequestMockBuilderClass · 0.90
buildFunction · 0.90
executeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected