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

Method testCreateHookWithAllParameters

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

Source from the content-addressed store, hash-verified

430 self.assertEqual(hook.id, 257967)
431
432 def testCreateHookWithAllParameters(self):
433 hook = self.repo.create_hook("web", {"url": "http://foobar.com"}, ["fork"], False)
434 self.assertTrue(hook.active) # WTF
435 self.assertEqual(hook.id, 257993)
436
437 def testCreateGitRef(self):
438 ref = self.repo.create_git_ref(

Callers

nothing calls this directly

Calls 1

create_hookMethod · 0.45

Tested by

no test coverage detected