def METHOD_NAME(self):
    """
    Test that get_unique_courses_offered returns the correct number of courses.
    """
    course_overview = CourseOverviewFactory.create(id=self.first_course.id, start="2019-01-01", end="2024-01-01")
    CourseEnrollmentFactory.create(user=self.user, course_id=course_overview.id)
    CourseEnrollmentFactory.create(user=self.user1, course_id=course_overview.id)
    CourseEnrollmentFactory.create(user=self.user2, course_id=course_overview.id)
    CourseEnrollmentFactory.create(user=self.user3, course_id=course_overview.id)
    CourseEnrollmentFactory.create(user=self.user4, course_id=course_overview.id)
    CourseEnrollmentFactory.create(user=self.user5, course_id=course_overview.id)
    assert get_unique_courses_offered() == 1