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

Method setUp

tests/WorkflowJob.py:32–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30
31class WorkflowJob(Framework.TestCase):
32 def setUp(self):
33 super().setUp()
34 self.repo = self.g.get_repo("PyGithub/PyGithub")
35 self.job = self.repo.get_workflow_run(4205440316).jobs()[0]
36
37 def testAttributes(self):
38 self.assertEqual(self.job.id, 11421878319)

Callers

nothing calls this directly

Calls 3

jobsMethod · 0.80
get_workflow_runMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected