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

Method setUp

tests/ReleaseAsset.py:90–95  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88
89class PublicReleaseAsset(Framework.TestCase):
90 def setUp(self):
91 self.authMode = "none"
92 super().setUp()
93 public_repo = self.g.get_repo("stellarcarbon/sorocarbon")
94 self.release = public_repo.get_release(223668595)
95 self.asset = self.release.assets[0]
96
97 def testAttributes(self):
98 self.assertEqual(self.release.id, 223668595)

Callers

nothing calls this directly

Calls 3

get_releaseMethod · 0.80
setUpMethod · 0.45
get_repoMethod · 0.45

Tested by

no test coverage detected