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

Function test_contains_and_len

tests/test_task_registry.py:85–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85def test_contains_and_len() -> None:
86 reg = RuntimeTaskRegistry()
87 reg.upsert(_make_state("b1"))
88 assert "b1" in reg
89 assert "missing" not in reg
90 assert len(reg) == 1
91
92
93def test_iter_yields_snapshot() -> None:

Callers

nothing calls this directly

Calls 3

upsertMethod · 0.95
RuntimeTaskRegistryClass · 0.90
_make_stateFunction · 0.85

Tested by

no test coverage detected