Пример #1
0
 def test_get_local_ip_for(self):
     addr = iputil.get_local_ip_for('127.0.0.1')
     self.failUnless(DOTTED_QUAD_RE.match(addr))
Пример #2
0
 def test_get_local_ip_for(self):
     addr = iputil.get_local_ip_for('127.0.0.1')
     self.assertTrue(DOTTED_QUAD_RE.match(addr))
Пример #3
0
 def test_get_local_ip_for(self):
     addr = iputil.get_local_ip_for('127.0.0.1')
     self.failUnless(DOTTED_QUAD_RE.match(addr))