def METHOD_NAME(self, get_jwt):
    repo = self._create_repo(external_id=self.config["external_id"])
    repo.status = ObjectStatus.PENDING_DELETION
    repo.save()
    with pytest.raises(RepoExistsError):
        self.provider.create_repository(self.config, self.organization)
    repo.refresh_from_db()
    assert repo.status == ObjectStatus.PENDING_DELETION