'Test what is displayed with both enrollment groups and content groups.'

def test_enrollment_track_partitions_and_content_groups(self):

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