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

Method testCreateHookWithAllParameters

tests/Organization.py:425–428  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

423 self.assertEqual(hook.id, 257967)
424
425 def testCreateHookWithAllParameters(self):
426 hook = self.org.create_hook("web", {"url": "http://foobar.com"}, ["fork"], False)
427 self.assertTrue(hook.active)
428 self.assertEqual(hook.id, 257993)
429
430 def testCreateRepoWithMinimalArguments(self):
431 repo = self.org.create_repo(name="TestPyGithub")

Callers

nothing calls this directly

Calls 1

create_hookMethod · 0.45

Tested by

no test coverage detected