| 1 |
from globus_sdk.testing.models import RegisteredResponse, ResponseSet |
| 2 |
|
| 3 |
from ._common import TASK_ID |
| 4 |
|
| 5 |
RESPONSES = ResponseSet( |
| 6 |
metadata={"task_id": TASK_ID}, |
| 7 |
default=RegisteredResponse( |
| 8 |
service="transfer", |
| 9 |
method="GET", |
| 10 |
path=f"/v0.10/endpoint_manager/task/{TASK_ID}/successful_transfers", |
| 11 |
json={ |
| 12 |
"DATA_TYPE": "successful_transfers", |
| 13 |
"marker": 0, |
| 14 |
"next_marker": 93979, |
| 15 |
"DATA": [ |
| 16 |
{ |
| 17 |
"destination_path": "/path/to/destination", |
| 18 |
"source_path": "/path/to/source", |
| 19 |
"DATA_TYPE": "successful_transfer", |
| 20 |
} |
| 21 |
], |
| 22 |
}, |
| 23 |
), |
| 24 |
) |