diff --git a/tests/test_qa_gaps.py b/tests/test_qa_gaps.py index 8922325..3f91e68 100644 --- a/tests/test_qa_gaps.py +++ b/tests/test_qa_gaps.py @@ -172,15 +172,12 @@ class TestBlockedReasonPropagation: ) assert dept_result["success"] is False - # BUG: 'error' key is missing — sub_result['error'] is not forwarded - assert "error" not in dept_result, ( - f"Unexpected: 'error' key is now in dept_result={dept_result}. " - "Issue 1 (first level) may be fixed — update this test!" + # FIXED (KIN-ARCH-014): 'error' and 'blocked_reason' are now forwarded from sub_result + assert "error" in dept_result, ( + f"Expected 'error' key in dept_result={dept_result}" ) - # BUG: 'blocked_reason' key is also missing - assert "blocked_reason" not in dept_result, ( - f"Unexpected: 'blocked_reason' key is now in dept_result={dept_result}. " - "Issue 1 (first level) may be fixed — update this test!" + assert "blocked_reason" in dept_result, ( + f"Expected 'blocked_reason' key in dept_result={dept_result}" ) @patch("agents.runner._run_autocommit")