mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-05-13 16:47:38 -03:00
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.
This commit is contained in:
@@ -77,7 +77,7 @@ async def test_repair_all_recipes_with_enriched_checkpoint_id(setup_scanner):
|
|||||||
recipe = {
|
recipe = {
|
||||||
"id": "r1",
|
"id": "r1",
|
||||||
"title": "Old Recipe",
|
"title": "Old Recipe",
|
||||||
"source_url": "https://civitai.com/images/12345",
|
"source_path": "https://civitai.com/images/12345",
|
||||||
"checkpoint": None,
|
"checkpoint": None,
|
||||||
"gen_params": {"prompt": ""}
|
"gen_params": {"prompt": ""}
|
||||||
}
|
}
|
||||||
@@ -127,7 +127,7 @@ async def test_repair_all_recipes_supports_civitai_red_source_url(setup_scanner)
|
|||||||
recipe = {
|
recipe = {
|
||||||
"id": "r1",
|
"id": "r1",
|
||||||
"title": "Red Recipe",
|
"title": "Red Recipe",
|
||||||
"source_url": "https://civitai.red/images/12345",
|
"source_path": "https://civitai.red/images/12345",
|
||||||
"checkpoint": None,
|
"checkpoint": None,
|
||||||
"gen_params": {"prompt": ""},
|
"gen_params": {"prompt": ""},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user