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

Function test_task_adapter_kill

tests/workflow/test_local_workflow.py:129–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127
128
129async def test_task_adapter_kill():
130 reg = RuntimeTaskRegistry()
131 run = _FakeRun()
132 state = _register(reg, run=run)
133 await LocalWorkflowTask().kill(state.id, reg)
134 assert reg.get(state.id).status == "killed"
135 assert run.controller.aborted_with == "workflow_stopped"
136
137
138def test_terminal_transitions_are_idempotent():

Callers

nothing calls this directly

Calls 6

getMethod · 0.95
RuntimeTaskRegistryClass · 0.90
LocalWorkflowTaskClass · 0.90
_FakeRunClass · 0.70
_registerFunction · 0.70
killMethod · 0.45

Tested by

no test coverage detected