'Test that enrolling in verified works correctly when the "verified cohort" has a custom name.'

def test_custom_verified_cohort_name(self):

    custom_cohort_name = 'special    verified    cohort'
    self._enable_cohorting()
    self._create_verified_cohort(name=custom_cohort_name)
    self._enable_verified_track_cohorting(cohort_name=custom_cohort_name)
    self._enroll_in_course()
    self._upgrade_to_verified()
    self.assertEqual(custom_cohort_name, get_cohort(self.user, self.course.id, assign=False).name)
