| 1 |
from globus_sdk.testing.models import RegisteredResponse, ResponseSet |
| 2 |
|
| 3 |
CREDENTIAL_ID = "af43d884-64a1-4414-897a-680c32374439" |
| 4 |
|
| 5 |
RESPONSES = ResponseSet( |
| 6 |
metadata={"id": CREDENTIAL_ID}, |
| 7 |
default=RegisteredResponse( |
| 8 |
service="gcs", |
| 9 |
path=f"/user_credentials/{CREDENTIAL_ID}", |
| 10 |
method="DELETE", |
| 11 |
json={ |
| 12 |
"DATA_TYPE": "result#1.0.0", |
| 13 |
"code": "success", |
| 14 |
"data": [], |
| 15 |
"detail": "success", |
| 16 |
"has_next_page": False, |
| 17 |
"http_response_code": 200, |
| 18 |
"message": f"Deleted User Credential {CREDENTIAL_ID}", |
| 19 |
}, |
| 20 |
), |
| 21 |
) |