'Scenario: A new cohort with random assignment type can be created, and a student assigned to it.
Given I have a course with a user in the course
When I add a new manual cohort with random assignment type to the course via the LMS instructor dashboard
Then the new cohort is displayed and has no users in it
And assignment type of displayed cohort is "random"
And when I add the user to the new cohort
Then the cohort has 1 user
And appropriate events have been emitted'

def test_add_new_cohort_with_random_assignment_type(self):

    cohort_name = str(uuid.uuid4().get_hex()[0:20])
    self._verify_cohort_settings(cohort_name=cohort_name, assignment_type='random')
