def remove_dns_server(ns, setting, address):
    # Check the IP address
    address, version = util.address_check(address)

    protocolIFType = ns.LMI_IPAssignmentSettingData.ProtocolIFTypeValues.value("IPv%d" % version)
    for settingData in setting.associators(AssocClass="LMI_OrderedIPAssignmentComponent"):
        if (settingData.classname == "LMI_DNSSettingData" and settingData.ProtocolIFType == protocolIFType):
            dns = []
            for addr in settingData.DNSServerAddresses:
                if not util.compare_address(addr, address):
                    dns.append(addr)
            if len(dns) == len(settingData.DNSServerAddresses):
                raise LmiInvalidOptions("No DNS with address %s found for setting %s" % (address, setting.Caption))
            settingData.DNSServerAddresses = dns
            settingData.push()
            return 0
    else:
        raise LmiInvalidOptions("Can't remove DNS address to setting %s, invalid setting type" % setting.Caption)
    LOG().info("DNS server %s removed from setting %s", address, setting.Caption)
    return 0
Check that hit points have gone down
dataset/ETHPy150Open openlmi/openlmi-scripts/commands/networking/lmi/scripts/networking/__init__.py/remove_dns_server--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/cutesy/dictionary.py/has_less_hit_points