def METHOD_NAME(self):
    settings.PYTEST_FORCE_CHAHUB = True
    self.customizer_configuration = Configuration.objects.create(disable_all_submissions=False)
    self.user = ClUser.objects.create_user(username="user", password="pass")
    self.competition = Competition.objects.create(
        title="Test Competition",
        creator=self.user,
        modified_by=self.user,
        published=True,
    )
    self.participant = CompetitionParticipant.objects.create(
        user=self.user,
        competition=self.competition,
        status=ParticipantStatus.objects.get_or_create(name='approved', codename=ParticipantStatus.APPROVED)[0],
    )
    self.phase = CompetitionPhase.objects.create(
        competition=self.competition,
        phasenumber=1,
        start_date=datetime.datetime.now() - datetime.timedelta(days=30),
    )