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

Class MockResponse

tests/test_json_model.py:273–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

271 self.debug_record.append(message % args)
272
273 class MockResponse(dict):
274 def __init__(self, items):
275 super(MockResponse, self).__init__()
276 self.status = items["status"]
277 for key, value in items.items():
278 self[key] = value
279
280 old_logging = googleapiclient.model.LOGGER
281 googleapiclient.model.LOGGER = MockLogging()

Callers 1

test_loggingMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_loggingMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…