mirror of https://github.com/langgenius/dify.git
test(api): fix incorrect import in tests
This commit is contained in:
parent
fbf0e5dd78
commit
9c1b49b7f5
|
|
@ -20,7 +20,7 @@ from pathlib import Path
|
|||
from typing import Any, Optional
|
||||
|
||||
from core.app.entities.app_invoke_entities import InvokeFrom
|
||||
from core.tools.utils.yaml_utils import load_yaml_file
|
||||
from core.tools.utils.yaml_utils import _load_yaml_file
|
||||
from core.variables import (
|
||||
ArrayNumberVariable,
|
||||
ArrayObjectVariable,
|
||||
|
|
@ -715,4 +715,4 @@ def _load_fixture(fixture_path: Path, fixture_name: str) -> dict[str, Any]:
|
|||
if not fixture_path.exists():
|
||||
raise FileNotFoundError(f"Fixture file not found: {fixture_path}")
|
||||
|
||||
return load_yaml_file(str(fixture_path), ignore_error=False)
|
||||
return _load_yaml_file(file_path=str(fixture_path))
|
||||
|
|
|
|||
Loading…
Reference in New Issue