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

Method testGetSingleArtifactFromRepo

tests/Artifact.py:56–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54 self.assertEqual(repr(artifact), 'Artifact(name="build-tar", id=724959170)')
55
56 def testGetSingleArtifactFromRepo(self):
57 artifact = self.repo.get_artifact(719509139)
58
59 self.assertEqual(artifact.name, "build-zip")
60 self.assertFalse(artifact.expired)
61 self.assertEqual(repr(artifact), 'Artifact(name="build-zip", id=719509139)')
62
63 def testGetArtifactsFromRepo(self):
64 artifact_id = 719509139

Callers

nothing calls this directly

Calls 1

get_artifactMethod · 0.80

Tested by

no test coverage detected