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

Method setUp

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

Source from the content-addressed store, hash-verified

41
42class GitTree(Framework.TestCase):
43 def setUp(self):
44 super().setUp()
45 self.tree = self.g.get_user().get_repo("PyGithub").get_git_tree("f492784d8ca837779650d1fb406a1a3587a764ad")
46
47 def testAttributes(self):
48 self.assertEqual(self.tree.sha, "f492784d8ca837779650d1fb406a1a3587a764ad")

Callers

nothing calls this directly

Calls 3

get_git_treeMethod · 0.80
get_userMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected