Skip to content

Commit 9734f14

Browse files
committed
test: update assertions to check for detailed output schema
1 parent 3e06d10 commit 9734f14

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/unit/tools/test_haystack_service.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,11 @@ async def get_component_input_output(self, component_name: str) -> dict[str, Any
142142
assert "(required)" in result
143143
assert "Output Schema:" in result
144144
assert "List of documents" in result
145-
assert "array" in result
145+
assert "documents: typing.List[haystack.dataclasses.document.Document]" in result
146+
assert "Definitions:" in result
147+
assert "Document:" in result
148+
assert "content: string (required)" in result
149+
assert "meta: object" in result
146150

147151

148152
@pytest.mark.asyncio

0 commit comments

Comments
 (0)