'Create a cohorted user partition with the specified content groups.'

def create_content_groups(self, content_groups):

    self.content_partition = UserPartition(MINIMUM_STATIC_PARTITION_ID, self.CONTENT_GROUPS_TITLE, 'Contains    Groups    for    Cohorted    Courseware', content_groups, scheme_id='cohort')
    self.course.user_partitions = [self.content_partition]
    self.store.update_item(self.course, self.user.id)
