(status taskpkg.RunStatus)
| 546 | } |
| 547 | |
| 548 | func 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 | |
| 557 | func TestUnixSocketClientToolMethods(t *testing.T) { |
| 558 | t.Parallel() |
no test coverage detected