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