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 <noreply@paperclip.ing>
This commit was merged in pull request #96.
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user