'Set the user partitions of the course descriptor.'

def _set_partitions(self, partitions):

    self.course.user_partitions = partitions
    self.course = self.store.update_item(self.course, ModuleStoreEnum.UserID.test)
