'publish the item at the given location'

def publish_item(self, store, item_location):

    with store.branch_setting(ModuleStoreEnum.Branch.draft_preferred):
        store.publish(item_location, ModuleStoreEnum.UserID.test)
