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

Method testCreateDispatchWithBranch

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

Source from the content-addressed store, hash-verified

135 )
136
137 def testCreateDispatchWithBranch(self):
138 dispatch_inputs = {"logLevel": "Warning", "message": "Log Message"}
139 workflow = self.g.get_repo("wrecker/PyGithub").get_workflow("manual_dispatch.yml")
140 branch = self.g.get_repo("wrecker/PyGithub").get_branch("workflow_dispatch_branch")
141 self.assertTrue(workflow.create_dispatch(branch, dispatch_inputs))
142
143 def testCreateDispatchWithTag(self):
144 dispatch_inputs = {"logLevel": "Warning", "message": "Log Message"}

Callers

nothing calls this directly

Calls 4

get_workflowMethod · 0.80
get_branchMethod · 0.80
create_dispatchMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected