From 9c1b49b7f55a4b1498e2cc808090576615fc13ec Mon Sep 17 00:00:00 2001 From: QuantumGhost Date: Wed, 17 Sep 2025 16:09:36 +0800 Subject: [PATCH] test(api): fix incorrect import in tests --- .../core/workflow/graph_engine/test_table_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/tests/unit_tests/core/workflow/graph_engine/test_table_runner.py b/api/tests/unit_tests/core/workflow/graph_engine/test_table_runner.py index 744e558e99..7677560b05 100644 --- a/api/tests/unit_tests/core/workflow/graph_engine/test_table_runner.py +++ b/api/tests/unit_tests/core/workflow/graph_engine/test_table_runner.py @@ -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))