'Scenario: Cohort assignment settings are disabled for default cohort.
Given I have a course with a user in the course
And I have added a manual cohort
And I have added a random cohort
When I select the random cohort
Then cohort assignment settings are disabled'

def test_default_cohort_assignment_settings(self):

    self.cohort_management_page.select_cohort('AutoCohort1')
    self.cohort_management_page.select_cohort_settings()
    self.assertTrue(self.cohort_management_page.is_assignment_settings_disabled)
    message = 'There    must    be    one    cohort    to    which    students    can    automatically    be    assigned.'
    self.assertEqual(message, self.cohort_management_page.assignment_settings_message)
