'Scenario: In a course with content groups, cohorts are initially not linked to a content group
Given I have a course with a cohort defined and content groups defined
When I view the cohort in the instructor dashboard and select settings
Then the cohort is not linked to a content group
And there is no text stating that content groups are undefined
And the content groups are listed in the selector'

def test_no_content_group_linked(self):

    self.cohort_management_page.select_cohort(self.cohort_name)
    self.assertIsNone(self.cohort_management_page.get_cohort_associated_content_group())
    self.assertIsNone(self.cohort_management_page.get_cohort_related_content_group_message())
    self.assertEquals(['Apples', 'Bananas'], self.cohort_management_page.get_all_content_groups())
