(self)
| 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() |
nothing calls this directly
no test coverage detected