(self)
| 79 | self.assertEqual(body, "data") |
| 80 | |
| 81 | def test_good_response(self): |
| 82 | resp = httplib2.Response({"status": "200"}) |
| 83 | resp.reason = "OK" |
| 84 | content = "data" |
| 85 | |
| 86 | content = self.model.response(resp, content) |
| 87 | self.assertEqual(content, MockProtocolBuffer("data")) |
| 88 | |
| 89 | def test_no_content_response(self): |
| 90 | resp = httplib2.Response({"status": "204"}) |
nothing calls this directly
no test coverage detected