def test_convert_validation_bad(self) -> None: with pytest.raises(ValueError): bs.convert_validation("junk")
def test_convert_validation_good(self, value) -> None: assert bs.convert_validation(value) == value