def METHOD_NAME(self, target_sat, name, new_name):
    """Create new, search, update and delete partition tables using different inputs as a name
    :id: 32250f23-3704-496f-83e6-6379a415650a
    :parametrized: yes
    :expectedresults: Partition table is created, searched, updated and deleted successfully
        with correct name
    :CaseImportance: Critical
    """
    ptable = target_sat.api.PartitionTable(name=name).create()
    assert ptable.name == name
    result = target_sat.api.PartitionTable().search(query={'search': f'name="{ptable.name}"'})
    assert len(result) == 1
    assert result[0].id == ptable.id
    ptable.name = new_name
    assert ptable.update(['name']).name == new_name
    ptable.delete()
    with pytest.raises(HTTPError):
        ptable.read()