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

Method testEnable

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

Source from the content-addressed store, hash-verified

173 self.assertFalse(workflow.disable())
174
175 def testEnable(self):
176 workflow = self.g.get_repo("nickrmcclorey/PyGithub").get_workflow("ci.yml")
177 self.assertTrue(workflow.enable())
178
179 def testEnableWhenAlreadyEnabled(self):
180 workflow = self.g.get_repo("nickrmcclorey/PyGithub").get_workflow("ci.yml")

Callers

nothing calls this directly

Calls 3

get_workflowMethod · 0.80
enableMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected