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

Method testCreateHookWithMinimalParameters

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

Source from the content-addressed store, hash-verified

426 )
427
428 def testCreateHookWithMinimalParameters(self):
429 hook = self.repo.create_hook("web", {"url": "http://foobar.com"})
430 self.assertEqual(hook.id, 257967)
431
432 def testCreateHookWithAllParameters(self):
433 hook = self.repo.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