Пример #1
0
 def test_valid_ips_v6(self):
   arg = '2001:4860:4860::8844'
   results = is_valid_ip(arg)
   self.assertEquals(results, arg)
Пример #2
0
 def test_valid_ips_v6(self):
     arg = '2001:4860:4860::8844'
     results = is_valid_ip(arg)
     self.assertEquals(results, arg)
Пример #3
0
 def test_valid_ips(self):
   arg = '8.8.8.8'
   results = is_valid_ip(arg)
   self.assertEquals(results, arg)
Пример #4
0
 def test_valid_ips(self):
     arg = '8.8.8.8'
     results = is_valid_ip(arg)
     self.assertEquals(results, arg)