(self)
| 497 | ) |
| 498 | |
| 499 | def testShouldCreateUnknownObjectException(self): |
| 500 | exc = self.g._Github__requester.createException(404, {"header": "value"}, {"message": "Not Found"}) |
| 501 | self.assertException( |
| 502 | exc, |
| 503 | github.UnknownObjectException, |
| 504 | None, |
| 505 | 404, |
| 506 | {"message": "Not Found"}, |
| 507 | {"header": "value"}, |
| 508 | '404 {"message": "Not Found"}', |
| 509 | ) |
| 510 | |
| 511 | def testShouldCreateUnknownObjectException2(self): |
| 512 | exc = self.g._Github__requester.createException( |
nothing calls this directly
no test coverage detected