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

Method testUploadAsset

tests/GitRelease.py:253–259  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

251 self.tearDownNewRelease()
252
253 def testUploadAsset(self):
254 self.setUpNewRelease()
255 release = self.new_release
256 self.assertEqual(release.id, self.new_release_id)
257
258 release.upload_asset(self.artifact_path, "unit test artifact", "application/zip")
259 self.tearDownNewRelease()
260
261 def testUploadAssetWithName(self):
262 self.setUpNewRelease()

Callers

nothing calls this directly

Calls 3

setUpNewReleaseMethod · 0.95
tearDownNewReleaseMethod · 0.95
upload_assetMethod · 0.80

Tested by

no test coverage detected