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

Method setUp

tests/GitRef.py:43–45  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41
42class GitRef(Framework.TestCase):
43 def setUp(self):
44 super().setUp()
45 self.ref = self.g.get_user().get_repo("PyGithub").get_git_ref("heads/BranchCreatedByPyGithub")
46
47 def testAttributes(self):
48 self.assertIsNone(self.ref.node_id)

Callers

nothing calls this directly

Calls 3

get_git_refMethod · 0.80
get_userMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected