parent
140cf890e3
commit
f96f2eaf8a
67 changed files with 421 additions and 361 deletions
|
|
@ -180,7 +180,7 @@ class TestCreateInputSchema:
|
|||
input_instance = StrInput(name="test_field", is_list=True)
|
||||
schema = create_input_schema([input_instance])
|
||||
field_info = schema.model_fields["test_field"]
|
||||
assert field_info.annotation == list[str] # type: ignore
|
||||
assert field_info.annotation == list[str]
|
||||
|
||||
# Converting FieldTypes to corresponding Python types
|
||||
def test_field_types_conversion(self):
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class TestColumn:
|
|||
|
||||
# Invalid formatter raises ValueError
|
||||
def test_invalid_formatter_raises_value_error(self):
|
||||
with pytest.raises(ValueError):
|
||||
with pytest.raises(ValueError, match="'invalid' is not a valid FormatterType"):
|
||||
Column(display_name="Invalid Column", name="invalid_column", formatter="invalid")
|
||||
|
||||
# Formatter is None when not provided
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue