(work_id: str)
| 573 | |
| 574 | |
| 575 | def _work_json(work_id: str) -> dict[str, Any]: |
| 576 | return { |
| 577 | "id": work_id, |
| 578 | "type": "work", |
| 579 | "environment_id": "env_1", |
| 580 | "state": "active", |
| 581 | "created_at": "2026-01-01T00:00:00Z", |
| 582 | "metadata": {}, |
| 583 | "data": {"type": "session", "id": f"sesn_{work_id}"}, |
| 584 | } |
| 585 | |
| 586 | |
| 587 | NO_WORK = httpx2.Response(200, content=b"null", headers={"content-type": "application/json"}) |
no outgoing calls
no test coverage detected