mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-05 19:12:41 +08:00
Fix test setup for assets_test after move
This commit is contained in:
parent
e8e1c13e83
commit
6b20d0e9f5
@ -98,7 +98,7 @@ def comfy_url_and_proc(comfy_tmp_base_dir: Path, request: pytest.FixtureRequest)
|
|||||||
out_log = open(logs_dir / "stdout.log", "w", buffering=1)
|
out_log = open(logs_dir / "stdout.log", "w", buffering=1)
|
||||||
err_log = open(logs_dir / "stderr.log", "w", buffering=1)
|
err_log = open(logs_dir / "stderr.log", "w", buffering=1)
|
||||||
|
|
||||||
comfy_root = Path(__file__).resolve().parent.parent
|
comfy_root = Path(__file__).resolve().parent.parent.parent
|
||||||
if not (comfy_root / "main.py").is_file():
|
if not (comfy_root / "main.py").is_file():
|
||||||
raise FileNotFoundError(f"main.py not found under {comfy_root}")
|
raise FileNotFoundError(f"main.py not found under {comfy_root}")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user