def METHOD_NAME(self, inventory: Dict):
    """This mock overrides the Source.set_inventory
    This function remove some validation which is not needed for this test
    Args:
        inventory (Dict): inventory to be set
    """
    self.set_device(inventory)
    self._inventory = inventory
    if not self._inv_is_set:
        self._inv_is_set = True
        self._inv_is_set_event.set()