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

Method testCreateHookWithMinimalParameters

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

Source from the content-addressed store, hash-verified

419 self.assertEqual(team.id, 141496)
420
421 def testCreateHookWithMinimalParameters(self):
422 hook = self.org.create_hook("web", {"url": "http://foobar.com"})
423 self.assertEqual(hook.id, 257967)
424
425 def testCreateHookWithAllParameters(self):
426 hook = self.org.create_hook("web", {"url": "http://foobar.com"}, ["fork"], False)

Callers

nothing calls this directly

Calls 1

create_hookMethod · 0.45

Tested by

no test coverage detected