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

Method testDisable

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

Source from the content-addressed store, hash-verified

165 self.assertEqual(raisedexp.exception.data["message"], "Required input 'mandatory-parameter' not provided")
166
167 def testDisable(self):
168 workflow = self.g.get_repo("nickrmcclorey/PyGithub").get_workflow("ci.yml")
169 self.assertTrue(workflow.disable())
170
171 def testDisabledWhenAlreadyDisabled(self):
172 workflow = self.g.get_repo("nickrmcclorey/PyGithub").get_workflow("ci.yml")

Callers

nothing calls this directly

Calls 3

get_workflowMethod · 0.80
disableMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected