mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-18 17:13:25 +08:00
test: resolve multi-search-engine config via runtime_skills_root
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
beb52006d8
commit
95dfa7020a
1 changed files with 2 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import json
|
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
|
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:
|
def test_web_search_fast_covers_all_multi_search_engine_config_names() -> None:
|
||||||
config_path = (
|
config_path = (
|
||||||
Path(__file__).resolve().parents[1]
|
runtime_skills_root()
|
||||||
/ "runtime"
|
|
||||||
/ "skills"
|
|
||||||
/ "_workspace"
|
/ "_workspace"
|
||||||
/ "generalist"
|
/ "generalist"
|
||||||
/ "multi-search-engine"
|
/ "multi-search-engine"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue