Skip to content

Commit b69dc53

Browse files
committed
Improve test for alerte Twitter #222
Signed-off-by: Armand <arm.gilles@gmail.com>
1 parent ddbd0b5 commit b69dc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/llm/test_rag.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def test_expain_alerte_twitter(agent):
124124
print(f"response: {response['output']}")
125125
# L'auteur du projet est Armand GILLES.
126126

127-
assert "deux" in response["output"].lower()
127+
assert "deux" in response["output"].lower() or "plusieurs" in response["output"].lower()
128128
assert "alerte" in response["output"].lower()
129129
assert "faible" in response["output"].lower()
130130
assert "grave" in response["output"].lower()

0 commit comments

Comments
 (0)