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

Method setUp

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

Source from the content-addressed store, hash-verified

43
44class GitReleaseAsset(Framework.TestCase):
45 def setUp(self):
46 super().setUp()
47 self.release = self.g.get_repo("EnricoMi/PyGithub", lazy=True).get_release(197548596)
48 self.asset = self.release.assets[0]
49
50 def testAttributes(self):
51 self.assertEqual(

Callers

nothing calls this directly

Calls 2

get_releaseMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected