def test_converter_name(self): assert get_validator_or_converter('remove_whitespace')
def test_validator_name(self): assert get_validator_or_converter('not_empty')
def test_converter_name(self): assert get_validator_or_converter('date_to_db')
def test_missing(self): with pytest.raises(SchemingException): get_validator_or_converter("not_a_real_validator_name")