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

Method testDeleteHook

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

Source from the content-addressed store, hash-verified

254 self.assertEqual(maintainer.login, team.get_members(role="maintainer")[0].name)
255
256 def testDeleteHook(self):
257 hook = self.org.create_hook("web", {"url": "http://foobar.com"})
258 self.org.delete_hook(hook.id)
259
260 def testPublicMembers(self):
261 lyloa = self.g.get_user("Lyloa")

Callers

nothing calls this directly

Calls 2

delete_hookMethod · 0.80
create_hookMethod · 0.45

Tested by

no test coverage detected