'Creates users and enrolls them in self.course. Assigns these users to
self.students.'

def create_students(self):

    self.students = [UserFactory() for _ in xrange(STUDENT_COUNT)]
    for student in self.students:
        CourseEnrollmentFactory.create(user=student, course_id=self.course.id)
