示例#1
0
 def test_invalid(self, value):
     assert not is_ipv4(value)
示例#2
0
 def test_invalid(self, value):
     assert not is_ipv4(value)
示例#3
0
 def test_valid(self):
     assert is_ipv4('8.8.8.8')
示例#4
0
 def test_valid(self):
     assert is_ipv4('8.8.8.8')