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

Method testCreateDispatchForNonTriggerEnabled

tests/Workflow.py:156–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 self.assertTrue(workflow.create_dispatch(ref_str, dispatch_inputs))
155
156 def testCreateDispatchForNonTriggerEnabled(self):
157 workflow = self.g.get_repo("wrecker/PyGithub").get_workflow("check.yml")
158 self.assertFalse(workflow.create_dispatch("main"))
159
160 def testCreateDispatchException(self):
161 workflow = self.g.get_repo("test-org/test-repo").get_workflow("workflow-with-params.yaml")

Callers

nothing calls this directly

Calls 3

get_workflowMethod · 0.80
create_dispatchMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected