From c96bdb06bab3a0881443abceb2981eabbcfdeb8f Mon Sep 17 00:00:00 2001 From: Ed_ Date: Fri, 5 Jun 2026 12:38:47 -0400 Subject: [PATCH] test(rag_phase4): handle None status before .lower() in error check --- tests/test_rag_phase4_final_verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rag_phase4_final_verify.py b/tests/test_rag_phase4_final_verify.py index 4d681796..20c0a52a 100644 --- a/tests/test_rag_phase4_final_verify.py +++ b/tests/test_rag_phase4_final_verify.py @@ -75,7 +75,7 @@ def test_phase4_final_verify(live_gui): if status == 'done': success = True break - if "error" in status.lower(): + if status and "error" in status.lower(): print(f"[VERIFY] Error detected: {status}") break time.sleep(0.5)