'Enroll a student in a course.'

def _enroll_through_view(self, course):

    response = self.client.post(reverse('change_enrollment'), {'course_id': course.id.to_deprecated_string(), 'enrollment_action': 'enroll'})
    return response
