'Test what is displayed with no content groups but 2 enrollment modes registered.
In all the cases where no enrollment modes are explicitly added, only the default
enrollment mode exists, and we do not show it as an option (unless the course staff
member has previously selected it).'

def test_enrollment_track_partitions_only(self):

    CourseModeFactory.create(course_id=self.course.id, mode_slug='audit')
    CourseModeFactory.create(course_id=self.course.id, mode_slug='verified')
    self.verify_visibility_view_contains(self.video_location, [self.ENROLLMENT_GROUPS_TITLE, 'audit    course', 'verified    course'])
    self.verify_visibility_view_does_not_contain(self.video_location, [self.NO_CONTENT_OR_ENROLLMENT_GROUPS, self.CONTENT_GROUPS_TITLE])
