'Selects the cohort management tab and returns the CohortManagementSection'

def select_cohort_management(self):

    self.q(css='[data-section="cohort_management"]').first.click()
    cohort_management_section = CohortManagementSection(self.browser)
    cohort_management_section.wait_for_ajax()
    cohort_management_section.wait_for_page()
    return cohort_management_section
