From 6763abb83c2fc56c268ad89fd4f6033ba935f76f Mon Sep 17 00:00:00 2001 From: Will Miao Date: Wed, 13 May 2026 09:27:05 +0800 Subject: [PATCH] fix(test): update test recipes to use source_path instead of source_url Follow-up to 86118d06 which consolidated on source_path but missed updating these two tests. --- tests/services/test_recipe_repair.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/services/test_recipe_repair.py b/tests/services/test_recipe_repair.py index 681573b9..2bf6e840 100644 --- a/tests/services/test_recipe_repair.py +++ b/tests/services/test_recipe_repair.py @@ -77,7 +77,7 @@ async def test_repair_all_recipes_with_enriched_checkpoint_id(setup_scanner): recipe = { "id": "r1", "title": "Old Recipe", - "source_url": "https://civitai.com/images/12345", + "source_path": "https://civitai.com/images/12345", "checkpoint": None, "gen_params": {"prompt": ""} } @@ -127,7 +127,7 @@ async def test_repair_all_recipes_supports_civitai_red_source_url(setup_scanner) recipe = { "id": "r1", "title": "Red Recipe", - "source_url": "https://civitai.red/images/12345", + "source_path": "https://civitai.red/images/12345", "checkpoint": None, "gen_params": {"prompt": ""}, }