'Verify that pagination works correctly for cohorts with >100 users.'

def test_many_users(self):

    users = [UserFactory() for _ in range(101)]
    cohort = CohortFactory(course_id=self.course.id, users=users)
    response_dict_1 = self.request_users_in_cohort(cohort, self.course, 1)
    response_dict_2 = self.request_users_in_cohort(cohort, self.course, 2)
    self.verify_users_in_cohort_and_response(cohort, response_dict_1, expected_users=users[:100], expected_page=1, expected_num_pages=2)
    self.verify_users_in_cohort_and_response(cohort, response_dict_2, expected_users=users[100:], expected_page=2, expected_num_pages=2)
