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

Method test_object_parameters

tests/PullRequest1682.py:50–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48 self.assertEqual(313400760, runs[0].id)
49
50 def test_object_parameters(self):
51 branch = self.repo.get_branch("adversary")
52 runs = self.repo.get_workflow_runs(branch=branch)
53 self.assertEqual(204764033, runs[0].id)
54 self.assertEqual(1, runs.totalCount)
55
56 user = self.g.get_user("shahryarabaki")
57 runs = self.repo.get_workflow_runs(actor=user)
58 self.assertEqual(28372848, runs[0].id)
59
60 def test_string_parameters(self):
61 runs = self.repo.get_workflow_runs(actor="xzhou29")

Callers

nothing calls this directly

Calls 3

get_branchMethod · 0.80
get_workflow_runsMethod · 0.80
get_userMethod · 0.80

Tested by

no test coverage detected