Пример #1
0
 def test_convert_validation_bad(self) -> None:
     with pytest.raises(ValueError):
         bs.convert_validation("junk")
Пример #2
0
 def test_convert_validation_good(self, value) -> None:
     assert bs.convert_validation(value) == value