MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / testMutation

Method testMutation

tests/GraphQl.py:194–200  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

192 )
193
194 def testMutation(self):
195 requester = self.g._Github__requester
196 header, data = requester.graphql_named_mutation(
197 "followOrganization", {"organizationId": "O_kgDOAKxBpA"}, "organization { name }"
198 )
199 self.assertTrue(header)
200 self.assertEqual(data, {"organization": {"name": "PyGithub"}})
201
202 def testMutationClass(self):
203 requester = self.g._Github__requester

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected