'Create a block of type `category` as a child of `parent_block`, in any
course or library. You can pass any field values as kwargs.'

def make_block(self, category, parent_block, **kwargs):

    extra = {'publish_item': False, 'user_id': self.user_id}
    extra.update(kwargs)
    return ItemFactory.create(category=category, parent=parent_block, parent_location=parent_block.location, modulestore=self.store, **extra)
