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