def METHOD_NAME(self):
    super().METHOD_NAME()
    # Configure course as a credit course
    CreditCourse.objects.create(course_key=self.course.id, enabled=True)
    # Configure credit requirements (passing grade and in-course reverification)
    credit_api.set_credit_requirements(
        self.course.id,
        [
            {
                "namespace": "grade",
                "name": "grade",
                "display_name": self.MIN_GRADE_REQ_DISPLAY,
                "criteria": {
                    "min_grade": 0.8
                }
            },
            {
                "namespace": "reverification",
                "name": "midterm",
                "display_name": self.VERIFICATION_REQ_DISPLAY,
                "criteria": {}
            }
        ]
    )
    # Create a user and log in
    self.user = UserFactory.create(username=self.USERNAME, password=self.PASSWORD)
    self.user.profile.name = self.USER_FULL_NAME
    self.user.profile.save()
    result = self.client.login(username=self.USERNAME, password=self.PASSWORD)
    assert result, 'Could not log in'
    # Enroll the user in the course as "verified"
    self.enrollment = CourseEnrollmentFactory(
        user=self.user,
        course_id=self.course.id,
        mode="verified"
    )