(self)
| 200 | self.assertEqual(data, {"organization": {"name": "PyGithub"}}) |
| 201 | |
| 202 | def testMutationClass(self): |
| 203 | requester = self.g._Github__requester |
| 204 | org = requester.graphql_named_mutation_class( |
| 205 | "followOrganization", |
| 206 | {"organizationId": "O_kgDOAKxBpA"}, |
| 207 | "organization { name }", |
| 208 | "organization", |
| 209 | github.Organization.Organization, |
| 210 | ) |
| 211 | self.assertEqual(org.name, "PyGithub") |
| 212 | |
| 213 | def testPaginationAndRestIntegration(self): |
| 214 | repo = self.g.get_repo("PyGithub/PyGithub") |
nothing calls this directly
no test coverage detected