(self)
| 509 | ) |
| 510 | |
| 511 | def testShouldCreateUnknownObjectException2(self): |
| 512 | exc = self.g._Github__requester.createException( |
| 513 | 404, {"header": "value"}, {"message": "No object found for the path some-nonexistent-file"} |
| 514 | ) |
| 515 | self.assertException( |
| 516 | exc, |
| 517 | github.UnknownObjectException, |
| 518 | "No object found for the path some-nonexistent-file", |
| 519 | 404, |
| 520 | {"message": "No object found for the path some-nonexistent-file"}, |
| 521 | {"header": "value"}, |
| 522 | 'No object found for the path some-nonexistent-file: 404 {"message": "No object found for the path some-nonexistent-file"}', |
| 523 | ) |
| 524 | |
| 525 | def testShouldCreateUnknownObjectException3(self): |
| 526 | exc = self.g._Github__requester.createException(404, {"header": "value"}, {"message": "Branch Not Found"}) |
nothing calls this directly
no test coverage detected