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

Method testUnsubscribePubSubHubbub

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

Source from the content-addressed store, hash-verified

2083 self.assertEqual(raisedexp.exception.data, {"message": 'Invalid event: "non-existing-event"'})
2084
2085 def testUnsubscribePubSubHubbub(self):
2086 self.repo.unsubscribe_from_hub("push", "http://requestb.in/1bc1sc61")
2087
2088 def testStatisticsContributors(self):
2089 with mock.patch("github.Requester.Consts.PROCESSING_202_WAIT_TIME", 0):

Callers

nothing calls this directly

Calls 1

unsubscribe_from_hubMethod · 0.80

Tested by

no test coverage detected