'Test that disabling cohorts does not hide the discussion tab when there is more than one enrollment track.
Also that the division scheme for cohorts is visible iff it was selected.
(even without reloading the page).'

def test_disabling_cohorts_while_selected(self):

    add_enrollment_course_modes(self.browser, self.course_id, ['audit', 'verified'])
    self.disable_cohorting(self.course_fixture)
    self.view_discussion_management_page()
    self.assertTrue(self.discussion_management_page.division_scheme_visible(self.discussion_management_page.COHORT_SCHEME))
