chore: snapshot in-progress question-gen work before preflight fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""core/agent/protocols.py 单元测试。"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
@@ -18,9 +19,11 @@ class _FakeDispatcher:
|
||||
def test_fake_dispatcher_satisfies_protocol() -> None:
|
||||
assert isinstance(_FakeDispatcher(), ToolDispatcher)
|
||||
|
||||
|
||||
def test_plain_object_not_dispatcher() -> None:
|
||||
assert not isinstance(object(), ToolDispatcher)
|
||||
|
||||
|
||||
def test_hookspec_can_register() -> None:
|
||||
pm = pluggy.PluginManager("agent_loop")
|
||||
pm.add_hookspecs(AgentLoopSpec)
|
||||
|
||||
Reference in New Issue
Block a user