From c62e75af52f1cb638428f3d7bac0467f6e8f23e5 Mon Sep 17 00:00:00 2001 From: KoalaTrapLord <265133236+KoalaTrapLord@users.noreply.github.com> Date: Mon, 30 Mar 2026 12:36:00 -0400 Subject: [PATCH] fix(tests): update _build_document assertions to match NL sentence format --- tests/test_rag_store.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_rag_store.py b/tests/test_rag_store.py index 9889517..16a3c69 100644 --- a/tests/test_rag_store.py +++ b/tests/test_rag_store.py @@ -73,12 +73,12 @@ class TestBuildDocument: from services.rag_store import _build_document card = {"name": "Unnamed"} doc = _build_document(card) - assert doc == "Unnamed" + assert doc == "Unnamed." def test_pipe_delimiter_format(self): from services.rag_store import _build_document card = {"name": "A", "mana_cost": "B", "type_line": "C", "oracle_text": "D"} - assert _build_document(card) == "A | B | C | D" + assert _build_document(card) == "A is a C. It costs B. D" # ---------------------------------------------------------------------------