'Utility to set up a cohort, add our student to the cohort, and link
the cohort to self.groups[0]'

def setup_student_in_group_0(self):

    test_cohort = CohortFactory(course_id=self.course_key)
    link_cohort_to_partition_group(test_cohort, self.user_partition.id, self.groups[0].id)
    add_user_to_cohort(test_cohort, self.student.username)
    self.assert_student_in_group(self.groups[0])
