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

Method test_deserialize_response

tests/test_http.py:1272–1279  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1270 self.assertEqual(NO_BODY_EXPECTED_GET.splitlines(), s)
1271
1272 def test_deserialize_response(self):
1273 batch = BatchHttpRequest()
1274 resp, content = batch._deserialize_response(RESPONSE)
1275
1276 self.assertEqual(200, resp.status)
1277 self.assertEqual("OK", resp.reason)
1278 self.assertEqual(11, resp.version)
1279 self.assertEqual('{"answer": 42}', content)
1280
1281 def test_new_id(self):
1282 batch = BatchHttpRequest()

Callers

nothing calls this directly

Calls 2

_deserialize_responseMethod · 0.95
BatchHttpRequestClass · 0.90

Tested by

no test coverage detected