(self)
| 44 | self.assertEqual(repr(artifact), 'Artifact(name="build-tar", id=724958104)') |
| 45 | |
| 46 | def testGetArtifactsFromRepoWithName(self): |
| 47 | artifacts = self.repo.get_artifacts(name="build-tar") |
| 48 | self.assertEqual(artifacts.totalCount, 296) |
| 49 | assert all(x.name == "build-tar" for x in artifacts) |
| 50 | |
| 51 | artifact = artifacts[0] |
| 52 | |
| 53 | self.assertEqual(artifact.name, "build-tar") |
| 54 | self.assertEqual(repr(artifact), 'Artifact(name="build-tar", id=724959170)') |
| 55 | |
| 56 | def testGetSingleArtifactFromRepo(self): |
| 57 | artifact = self.repo.get_artifact(719509139) |
nothing calls this directly
no test coverage detected