'Scenario: if the course has no content groups defined (user_partitions of type cohort),
the settings in the cohort management tab reflect this
Given I have a course with a cohort defined but no content groups
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 text stating that no content groups are defined
And I cannot select the radio button to enable content group association
And there is a link I can select to open Group settings in Studio'

def test_no_content_groups(self):

    self.cohort_management_page.select_cohort(self.manual_cohort_name)
    self.assertIsNone(self.cohort_management_page.get_cohort_associated_content_group())
    self.assertEqual('Warning:\nNo    content    groups    exist.    Create    a    content    group', self.cohort_management_page.get_cohort_related_content_group_message())
    self.assertFalse(self.cohort_management_page.select_content_group_radio_button())
    self.cohort_management_page.select_studio_group_settings()
    group_settings_page = GroupConfigurationsPage(self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run'])
    group_settings_page.wait_for_page()
