def METHOD_NAME(self):
    """
    Tests item_update function
    Returns:
    """
    par_dict = self.add_items("BO")
    key = par_dict["id"]
    # function does only accept a dict, no list
    self.assertRaises(
        Exception, self.database.item_update, [{"job": "testing2"}], key
    )
    try:  # Function works with int, str and list, normally I would test against list, but then our project
        # would not work anymore.
        self.database.item_update({"job": "testing2"}, key)
        self.database.item_update({"job": "testing2"}, [key])
        self.database.item_update({"job": "testing2"}, str(key))
    except TypeError:
        self.fail(
            "Unexpectedly, item_update raises an Error with types of ids which should be usable"
        )