'Tests that discussion topics are hidden iff discussion division is disabled.'

def test_not_divided_hides_discussion_topics(self):

    self.assertTrue(self.discussion_management_page.division_scheme_visible(self.discussion_management_page.COHORT_SCHEME))
    self.assertEqual(self.discussion_management_page.COHORT_SCHEME, self.discussion_management_page.get_selected_scheme())
    self.check_discussion_topic_visibility(visible=True)
    self.discussion_management_page.select_division_scheme(self.discussion_management_page.NOT_DIVIDED_SCHEME)
    self.verify_save_confirmation_message(self.scheme_key)
    self.check_discussion_topic_visibility(visible=False)
    self.reload_page(topics_visible=False)
    self.assertTrue(self.discussion_management_page.division_scheme_visible(self.discussion_management_page.COHORT_SCHEME))
    self.assertEqual(self.discussion_management_page.NOT_DIVIDED_SCHEME, self.discussion_management_page.get_selected_scheme())
    self.discussion_management_page.select_division_scheme(self.discussion_management_page.COHORT_SCHEME)
    self.verify_save_confirmation_message(self.scheme_key)
    self.check_discussion_topic_visibility(visible=True)
