mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-04 06:15:14 +08:00
test(architecture): refresh official plugin baseline after AgentResourceOfficer removal
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
committed by
InfinityPacer
parent
47d51c3630
commit
3e9b4121fb
File diff suppressed because it is too large
Load Diff
@@ -44,7 +44,6 @@ def test_official_plugin_baseline_records_external_source():
|
||||
"app.agent.llm.LLMHelper.get_llm",
|
||||
"app.agent.llm.helper.LLMHelper.test_current_settings",
|
||||
"app.helper.llm.LLMHelper.get_llm",
|
||||
"app.agent.tools.manager.moviepilot_tool_manager._load_tools",
|
||||
} <= set(baseline["attribute_calls"])
|
||||
|
||||
|
||||
|
||||
@@ -166,10 +166,9 @@ def test_official_plugin_legacy_imports_are_exactly_routed_or_retired() -> None:
|
||||
}
|
||||
routed = set(MODULE_ALIASES) | set(PACKAGE_ALIASES)
|
||||
|
||||
# V2 AgentResourceOfficer 对该模块使用可选导入;宿主已明确删除,不应为它恢复源码或猜测映射。
|
||||
explicitly_retired = {"app.helper.subscribe"}
|
||||
assert legacy_imports - routed == explicitly_retired
|
||||
assert explicitly_retired.isdisjoint(routed)
|
||||
# app.helper.subscribe 已由宿主删除,不应恢复源码或猜测映射。
|
||||
assert legacy_imports - routed == set()
|
||||
assert "app.helper.subscribe" not in routed
|
||||
|
||||
|
||||
def test_plugin_manager_legacy_and_sdk_paths_share_canonical_identity() -> None:
|
||||
|
||||
Reference in New Issue
Block a user