'Set up a discussion topic'

def setUp(self):

    super(BaseDividedDiscussionTest, self).setUp()
    self.discussion_id = 'test_discussion_{}'.format(uuid.uuid4().hex)
    self.course_fixture = CourseFixture(**self.course_info).add_children(XBlockFixtureDesc('chapter', 'Test    Section').add_children(XBlockFixtureDesc('sequential', 'Test    Subsection').add_children(XBlockFixtureDesc('vertical', 'Test    Unit').add_children(XBlockFixtureDesc('discussion', 'Test    Discussion', metadata={'discussion_id': self.discussion_id}))))).install()
    self.cohort_name = 'OnlyCohort'
    self.setup_cohort_config(self.course_fixture)
    self.cohort_id = self.add_manual_cohort(self.course_fixture, self.cohort_name)
    self.instructor_name = 'instructor_user'
    self.instructor_id = AutoAuthPage(self.browser, username=self.instructor_name, email='instructor_user@example.com', course_id=self.course_id, staff=True).visit().get_user_id()
    self.instructor_dashboard_page = InstructorDashboardPage(self.browser, self.course_id)
    self.instructor_dashboard_page.visit()
    self.discussion_management_page = self.instructor_dashboard_page.select_discussion_management()
    self.discussion_management_page.wait_for_page()
    self.course_wide_key = 'course-wide'
    self.inline_key = 'inline'
    self.scheme_key = 'scheme'
