MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_nested_depth

Method test_nested_depth

tests/test_subagent_context.py:202–208  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

200 assert child.query_tracking.depth == 0
201
202 def test_nested_depth(self):
203 parent = _make_parent_context()
204 parent.query_tracking = QueryChainTracking(chain_id="p", depth=5)
205
206 child = create_subagent_context(parent)
207
208 assert child.query_tracking.depth == 6
209
210
211# --- Overrides ---

Callers

nothing calls this directly

Calls 3

QueryChainTrackingClass · 0.90
create_subagent_contextFunction · 0.90
_make_parent_contextFunction · 0.70

Tested by

no test coverage detected