def test_get_local_ip_for(self): addr = iputil.get_local_ip_for('127.0.0.1') self.failUnless(DOTTED_QUAD_RE.match(addr))
def test_get_local_ip_for(self): addr = iputil.get_local_ip_for('127.0.0.1') self.assertTrue(DOTTED_QUAD_RE.match(addr))