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

Method testGetNonexistentArtifact

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

Source from the content-addressed store, hash-verified

76 )
77
78 def testGetNonexistentArtifact(self):
79 artifact_id = 396724437
80 repo_name = "lexa/PyGithub"
81 repo = self.g.get_repo(repo_name)
82 with self.assertRaises(github.GithubException):
83 repo.get_artifact(artifact_id)
84
85 def testDelete(self):
86 artifact_id = 396724439

Callers

nothing calls this directly

Calls 2

get_artifactMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected