From aba47af30a180126035752f7026f1b33ff07e72d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 27 Feb 2026 01:08:26 +0000 Subject: [PATCH] test: add send_to_all_destinations step to test_status_filter_completed The terminal-step guard requires send_to_all_destinations: success before a file is considered "completed". Update test_status_filter_completed to include this step so it matches the new semantics. Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com> --- tests/test_bulk_operations.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/test_bulk_operations.py b/tests/test_bulk_operations.py index 153f19c8..d2fbf7b9 100644 --- a/tests/test_bulk_operations.py +++ b/tests/test_bulk_operations.py @@ -253,12 +253,13 @@ class TestStatusFilter: db_session.add(file_record) db_session.flush() - step = FileProcessingStep( - file_id=file_record.id, - step_name="extract_text", - status="success", - ) - db_session.add(step) + for step_name in ("extract_text", "send_to_all_destinations"): + step = FileProcessingStep( + file_id=file_record.id, + step_name=step_name, + status="success", + ) + db_session.add(step) db_session.commit() # Test completed filter