'Links a cohort to a content group. Saves the changes and verifies the cohort updated properly.
Then refreshes the page and selects the cohort.'

def _link_cohort_to_content_group(self, cohort_name, content_group):

    self.cohort_management_page.select_cohort(cohort_name)
    self.cohort_management_page.set_cohort_associated_content_group(content_group)
    self._verify_settings_saved_and_reload(cohort_name)
