MCPcopy Create free account
hub / github.com/compozy/agh / agentTaskLeaseHTTPResponse

Function agentTaskLeaseHTTPResponse

internal/cli/client_test.go:548–555  ·  view source on GitHub ↗
(status taskpkg.RunStatus)

Source from the content-addressed store, hash-verified

546}
547
548func agentTaskLeaseHTTPResponse(status taskpkg.RunStatus) *http.Response {
549 return newHTTPResponse(
550 http.StatusOK,
551 `{"lease":{"task_id":"task-1","run_id":"run-1","status":"`+string(
552 status,
553 )+`","session_id":"sess-1","coordination_channel_id":"builders"}}`,
554 )
555}
556
557func TestUnixSocketClientToolMethods(t *testing.T) {
558 t.Parallel()

Callers 1

Calls 1

newHTTPResponseFunction · 0.70

Tested by

no test coverage detected