Skip to content

Commit 06f6394

Browse files
committed
chore: Fix e2e test
1 parent 39075e5 commit 06f6394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-llamaindex/tests/test_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def test_run_tool_sync(self, get_n_rows_tool):
248248
assert "row3" not in response.content
249249

250250
def test_run_tool_missing_params(self, get_n_rows_tool):
251-
with pytest.raises(ValidationError, match="Field required"):
251+
with pytest.raises(TypeError, match="missing a required argument: 'num_rows'"):
252252
get_n_rows_tool.call()
253253

254254
def test_run_tool_wrong_param_type(self, get_n_rows_tool):

0 commit comments

Comments
 (0)