src/globus_sdk/testing/data/transfer/update_endpoint.py
raw| 1 | from globus_sdk.testing.models import RegisteredResponse, ResponseSet |
| 2 | |
| 3 | from ._common import ENDPOINT_ID |
| 4 | |
| 5 | RESPONSES = ResponseSet( |
| 6 | metadata={"endpoint_id": ENDPOINT_ID}, |
| 7 | default=RegisteredResponse( |
| 8 | service="transfer", |
| 9 | method="PUT", |
| 10 | path=f"/v0.10/endpoint/{ENDPOINT_ID}", |
| 11 | json={ |
| 12 | "DATA_TYPE": "result", |
| 13 | "code": "Updated", |
| 14 | "message": "Endpoint updated successfully", |
| 15 | "request_id": "6aZjzldyM", |
| 16 | "resource": f"/v0.10/endpoint/{ENDPOINT_ID}", |
| 17 | }, |
| 18 | ), |
| 19 | ) |