mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-24 13:38:53 +00:00
relax test assertion (#4229)
This commit is contained in:
parent
1e4ef24ae9
commit
262c9771f4
@ -324,7 +324,7 @@ def test_simple_pipeline(prompt_model):
|
||||
pipe = Pipeline()
|
||||
pipe.add_node(component=node, name="prompt_node", inputs=["Query"])
|
||||
result = pipe.run(query="not relevant", documents=[Document("Berlin is an amazing city.")])
|
||||
assert result["out"][0].casefold() == "positive"
|
||||
assert "positive" in result["out"][0].casefold()
|
||||
|
||||
|
||||
@pytest.mark.integration
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user