def METHOD_NAME(self):
    super().METHOD_NAME()
    self.course = CourseFactory.create(org='edX', number='DemoX', display_name='Demo_Course', run='Spring2019')
    self.subsection = BlockFactory.create(parent=self.course, category="sequential", display_name="Subsection")
    self.grade = PersistentSubsectionGrade.update_or_create_grade(
        user_id=self.user.id,
        course_id=self.course.id,
        usage_key=self.subsection.location,
        first_attempted=None,
        visible_blocks=[],
        earned_all=6.0,
        possible_all=6.0,
        earned_graded=5.0,
        possible_graded=5.0
    )