예제 #1
0
 def test_bad_value(self, value):
     with pytest.raises(ValueError):
         inputs.ipv6(value)
예제 #2
0
 def test_valid_value(self, value):
     assert inputs.ipv6(value) == value