def test8(self): "dns_lookup_reverse('128.142.198.41')" res = samutils.dns_lookup_reverse('128.142.198.41') if res != 'bdii203.cern.ch': self.fail("Expected localhost, got %s" % res)
def test8(self): "dns_lookup_reverse('128.142.198.41')" res = samutils.dns_lookup_reverse('128.142.198.41') if res != 'bdii203.cern.ch': self.fail("Expected localhost, got %s" % res)
def test7(self): "dns_lookup_reverse('127.0.0.1')" res = samutils.dns_lookup_reverse('127.0.0.1') if res != 'localhost' and res != LOCALHOST: self.fail("Expected localhost, got %s" % res)
def test7(self): "dns_lookup_reverse('127.0.0.1')" res = samutils.dns_lookup_reverse('127.0.0.1') if res != 'localhost' and res != LOCALHOST: self.fail("Expected localhost, got %s" % res)