def METHOD_NAME(self):
    self.artifact = pulp_models.Artifact.objects.create(
        size=427611,
        sha256=self.sha256,
        file=SimpleUploadedFile(self.storage_path, ''),
    )
    self.ca = pulp_models.ContentArtifact.objects.create(
        content=self.version, artifact=self.artifact,
        relative_path=self.filename
    )