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

Method testDisabledWhenAlreadyDisabled

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

Source from the content-addressed store, hash-verified

169 self.assertTrue(workflow.disable())
170
171 def testDisabledWhenAlreadyDisabled(self):
172 workflow = self.g.get_repo("nickrmcclorey/PyGithub").get_workflow("ci.yml")
173 self.assertFalse(workflow.disable())
174
175 def testEnable(self):
176 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