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

Method testGetRunsWithObjects

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

Source from the content-addressed store, hash-verified

105 )
106
107 def testGetRunsWithObjects(self):
108 sfdye = self.g.get_user("sfdye")
109 master = self.g.get_repo("PyGithub/PyGithub").get_branch("master")
110 self.assertListKeyEqual(
111 self.workflow.get_runs(actor=sfdye, branch=master, event="push", status="completed"),
112 lambda r: r.id,
113 [100957683, 94845611, 93946842, 92714488],
114 )
115
116 def testGetRunsWithStrings(self):
117 self.assertListKeyEqual(

Callers

nothing calls this directly

Calls 5

get_userMethod · 0.80
get_branchMethod · 0.80
assertListKeyEqualMethod · 0.80
get_runsMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected