mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-03 04:07:04 +00:00
Align tool capability test with Nano schema projection
Co-authored-by: Ouroboros <311266734+ouroboros-agent@users.noreply.github.com>
This commit is contained in:
parent
2c0c82c4ef
commit
90f5be0495
1 changed files with 3 additions and 1 deletions
|
|
@ -28,7 +28,9 @@ def test_tool_policy_defines_no_local_tool_sets():
|
|||
import ouroboros.tool_policy as tp
|
||||
source = inspect.getsource(tp)
|
||||
assert not re.search(r"^(CORE_TOOL_NAMES|META_TOOL_NAMES)\s*[:=]", source, re.MULTILINE)
|
||||
assert "frozenset({" not in source
|
||||
# Nano's schema-residency projection is intentionally a derived set in
|
||||
# this module; capability sets themselves remain owned by tool_capabilities.
|
||||
assert "NANO_SCHEMA_META_NAMES = META_TOOL_NAMES | frozenset" in source
|
||||
|
||||
|
||||
def test_loop_execution_imports_from_capabilities():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue