def METHOD_NAME(self):
    super().METHOD_NAME()
    patcher = patch("cms.db.Dataset.score_type_object",
                    new_callable=PropertyMock)
    self.score_type = patcher.start().return_value
    self.addCleanup(patcher.stop)
    self.score_type.max_score = 100
    self.score_type.ranking_headers = ["100"]
    patcher = patch("requests.put")
    self.requests_put = patcher.start()
    self.addCleanup(patcher.stop)
    self.requests_put.return_value.status_code = 200
    self.contest = self.add_contest()
    self.contest.score_precision = 2
    self.task = self.add_task(contest=self.contest)
    self.task.score_precision = 2
    self.task.score_mode = SCORE_MODE_MAX
    self.dataset = self.add_dataset(task=self.task)
    self.task.active_dataset = self.dataset
    self.team = self.add_team()
    self.user = self.add_user()
    self.participation = self.add_participation(user=self.user,
                                                contest=self.contest,
                                                team=self.team)
    self.new_sr_unscored()
    self.new_sr_scored()
    result = self.new_sr_scored()
    self.add_token(submission=result.submission)
    self.session.commit()