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

Method testCreateDispatchWithString

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

Source from the content-addressed store, hash-verified

148 self.assertTrue(workflow.create_dispatch(tag, dispatch_inputs))
149
150 def testCreateDispatchWithString(self):
151 dispatch_inputs = {"logLevel": "Warning", "message": "Log Message"}
152 workflow = self.g.get_repo("wrecker/PyGithub").get_workflow("manual_dispatch.yml")
153 ref_str = "main"
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")

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