mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
refactor: 收口 V3 分层架构与插件兼容边界
This commit is contained in:
@@ -31,7 +31,7 @@ def _mock_counter(monkeypatch) -> Mock:
|
||||
increment = Mock()
|
||||
# 计数逻辑在识别 mixin 中,按 _recognition 模块命名空间解析 SystemConfigOper
|
||||
monkeypatch.setattr(
|
||||
"app.chain._recognition.SystemConfigOper",
|
||||
"app.chain._recognition.get_configured_system_config",
|
||||
lambda: SimpleNamespace(increment=increment),
|
||||
)
|
||||
return increment
|
||||
|
||||
Reference in New Issue
Block a user