test: move mocked model and tool cases to unit tests

This commit is contained in:
Asuka Minato 2026-08-13 13:53:21 +09:00
parent fb937f9df7
commit 5beb0519ea
4 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,5 @@
"""HTTP fixture for API-tool unit tests."""
import json
from typing import Literal

View File

@ -4,7 +4,7 @@ from core.tools.entities.common_entities import I18nObject
from core.tools.entities.tool_bundle import ApiToolBundle
from core.tools.entities.tool_entities import ToolEntity, ToolIdentity
pytest_plugins = ("tests.integration_tests.tools.__mock.http",)
pytest_plugins = ("tests.unit_tests.core.tools.custom_tool.api_tool_http_fixture",)
tool_bundle = {
"server_url": "http://www.example.com/{path_param}",

View File

@ -1,3 +1,5 @@
"""Unit coverage for LLM node execution with model boundaries replaced by test doubles."""
import json
import time
import uuid

View File

@ -1,3 +1,5 @@
"""Unit coverage for tool-node invocation with the tool boundary patched."""
import time
import uuid
from unittest.mock import MagicMock, patch