From 57dad53e57256b848d300c0c83ce01d607947bcf Mon Sep 17 00:00:00 2001 From: backend-engineer Date: Wed, 10 Jun 2026 14:10:34 +0000 Subject: [PATCH] test(pipelines): forward dry_run_override in offline test PapraConfig fixtures Fixes main-branch regression where PapraConfig.__init__ gained a new keyword-only parameter dry_run_override but the two offline test fixtures did not pass it, causing TypeError on 4/14 live_pipeline tests and parallel failures in historical_pipeline tests. - _make_papra_cfg in test_live_pipeline_offline.py: add dry_run_override=dry_run - _make_papra_cfg in test_historical_pipeline_offline.py: add dry_run_override=dry_run All PapraConfig callsites in pipelines/_tests now include dry_run_override. Live offline tests: 14/14 passed. Refs [INB-331](/INB/issues/INB-331) Co-Authored-By: Paperclip --- pipelines/_tests/test_historical_pipeline_offline.py | 1 + pipelines/_tests/test_live_pipeline_offline.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pipelines/_tests/test_historical_pipeline_offline.py b/pipelines/_tests/test_historical_pipeline_offline.py index 4974bf6..1e93b48 100644 --- a/pipelines/_tests/test_historical_pipeline_offline.py +++ b/pipelines/_tests/test_historical_pipeline_offline.py @@ -89,6 +89,7 @@ def _make_papra_cfg(dry_run: bool = True) -> "common.PapraConfig": body_write_modules=["crm", "finance", "legal"], metadata_only_modules=["intel", "promotions"], dry_run=dry_run, + dry_run_override=dry_run, timeout=60, ) diff --git a/pipelines/_tests/test_live_pipeline_offline.py b/pipelines/_tests/test_live_pipeline_offline.py index e4cc7c3..412c275 100644 --- a/pipelines/_tests/test_live_pipeline_offline.py +++ b/pipelines/_tests/test_live_pipeline_offline.py @@ -118,6 +118,7 @@ def _make_papra_cfg(dry_run: bool = True) -> "common.PapraConfig": body_write_modules=["crm", "finance", "legal"], metadata_only_modules=["intel", "promotions"], dry_run=dry_run, + dry_run_override=dry_run, timeout=60, )