diff --git a/tests/test_qa_gaps.py b/tests/test_qa_gaps.py index 3f91e68..53651d9 100644 --- a/tests/test_qa_gaps.py +++ b/tests/test_qa_gaps.py @@ -207,12 +207,10 @@ class TestBlockedReasonPropagation: assert result["success"] is False - # BUG VERIFIED: result['error'] is the generic message, not the worker error - expected_generic = "Department backend_head sub-pipeline failed" - assert result["error"] == expected_generic, ( - f"Expected generic error '{expected_generic}', " - f"got '{result.get('error')}'. " - "If this fails, Issue 1 has been fixed — update this test!" + # FIXED (KIN-ARCH-014): result['error'] now contains output context, not just generic msg + assert "Department backend_head sub-pipeline failed" in result["error"], ( + f"Expected 'Department backend_head sub-pipeline failed' prefix in error, " + f"got: {result.get('error')!r}" )