def test_addr_in(self):
     self.assertFalse(addr_in("127.0.0.1", []))
     self.assertTrue(addr_in("127.0.0.1", ["127.0.0.1"]))
def test_addr_in():
    assert not addr_in('127.0.0.1', [])
    assert addr_in('127.0.0.1', ['127.0.0.1'])
 def test_addr_in(self):
     self.assertFalse(addr_in('127.0.0.1', []))
     self.assertTrue(addr_in('127.0.0.1', ['127.0.0.1']))
 def test_addr_in(self):
     self.assertFalse(addr_in('127.0.0.1', []))
     self.assertTrue(addr_in('127.0.0.1', ['127.0.0.1']))