src/globus_sdk/testing/data/timer/pause_job.py
raw| 1 | from globus_sdk.testing.models import RegisteredResponse, ResponseSet |
| 2 | |
| 3 | from ._common import TIMER_ID |
| 4 | |
| 5 | RESPONSES = ResponseSet( |
| 6 | metadata={"job_id": TIMER_ID}, |
| 7 | default=RegisteredResponse( |
| 8 | service="timer", |
| 9 | path=f"/jobs/{TIMER_ID}/pause", |
| 10 | method="POST", |
| 11 | json={"message": f"Successfully paused job {TIMER_ID}."}, |
| 12 | ), |
| 13 | ) |