Closed lisad closed 5 months ago
Also while working on allowed_values there's another test already in the code waiting to be fixed:
@pytest.mark.skip("Doesn't work yet - we don't wrap the value of allowed_values in an array if it isn't one")
def test_allowed_values_cast_int_to_array():
col2 = IntColumn(name='answer', allowed_values=42)
col2.check_and_cast_value({'answer': '42'})
This seems like an obvious thing to want to do and should work: