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

Method setUp

tests/GitCommit.py:46–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44
45class GitCommit(Framework.TestCase):
46 def setUp(self):
47 super().setUp()
48 self.commit = self.g.get_repo("PyGithub/PyGithub").get_git_commit("3d84a47a88f6757514cb3ee91b829f53ba09e7e0")
49
50 def testAttributes(self):
51 self.assertEqual(self.commit.author.name, "Enrico Minack")

Callers

nothing calls this directly

Calls 2

get_git_commitMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected