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

Method setUp

tests/Tag.py:42–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40
41class Tag(Framework.TestCase):
42 def setUp(self):
43 super().setUp()
44 self.tag = self.g.get_repo("PyGithub/PyGithub").get_tags()[0]
45
46 def testAttributes(self):
47 self.assertEqual(self.tag.commit.sha, "19ddb9f4fd996e99a5010d271b3c2e76dd280fb5")

Callers 1

Calls 2

get_tagsMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected