def METHOD_NAME(self):
    self.admin = Person.objects.create_superuser(
        username="admin",
        personal="Super",
        family="User",
        email="sudo@example.org",
        password="admin",
    )
    consent_to_all_required_consents(self.admin)
    self.admin.airport = Airport.objects.first()
    self.admin.save()
    self.event = Event.objects.create(
        slug="test-event",
        host=Organization.objects.first(),
        administrator=Organization.objects.first(),
        assigned_to=self.admin,
    )
    self.award = Award.objects.create(
        person=self.admin,
        badge=Badge.objects.first(),
        event=self.event,
    )
    self.term = Term.objects.active().prefetch_active_options()[0]
    old_consent = Consent.objects.filter(
        person=self.admin,
        term=self.term,
    ).active()[0]
    self.consent = Consent.reconsent(
        consent=old_consent, term_option=self.term.options[0]
    )
    self.instructor_role = Role.objects.create(name="instructor")
    self.task = Task.objects.create(
        event=self.event, person=self.admin, role=self.instructor_role
    )
    self.client.login(username="admin", password="admin")