From 95dfa7020aa7b1730eefd49b4d5436b52bfd3607 Mon Sep 17 00:00:00 2001 From: oliver Date: Sun, 10 May 2026 11:44:46 +0800 Subject: [PATCH] test: resolve multi-search-engine config via runtime_skills_root Co-authored-by: Cursor --- tests/test_web_search_fast_tool.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/test_web_search_fast_tool.py b/tests/test_web_search_fast_tool.py index 8e03c73b..fe494dba 100644 --- a/tests/test_web_search_fast_tool.py +++ b/tests/test_web_search_fast_tool.py @@ -1,8 +1,8 @@ from __future__ import annotations import json -from pathlib import Path +from oclaw.platform.config.runtime_paths import runtime_skills_root from oclaw.runtime.tools.public.web_search_fast_tool import _ENGINE_URLS, _normalize_engine_name, web_search_fast_tool @@ -131,9 +131,7 @@ def test_web_search_fast_engine_alias_from_skill_config_name(monkeypatch) -> Non def test_web_search_fast_covers_all_multi_search_engine_config_names() -> None: config_path = ( - Path(__file__).resolve().parents[1] - / "runtime" - / "skills" + runtime_skills_root() / "_workspace" / "generalist" / "multi-search-engine"