(self)
| 523 | ) |
| 524 | |
| 525 | def testShouldCreateUnknownObjectException3(self): |
| 526 | exc = self.g._Github__requester.createException(404, {"header": "value"}, {"message": "Branch Not Found"}) |
| 527 | self.assertException( |
| 528 | exc, |
| 529 | github.UnknownObjectException, |
| 530 | "Branch Not Found", |
| 531 | 404, |
| 532 | {"message": "Branch Not Found"}, |
| 533 | {"header": "value"}, |
| 534 | 'Branch Not Found: 404 {"message": "Branch Not Found"}', |
| 535 | ) |
| 536 | |
| 537 | def testShouldCreateGithubException(self): |
| 538 | for status in range(400, 600): |
nothing calls this directly
no test coverage detected