tests/functional/services/flows/test_resume_run.py
raw| 1 | import typing as t |
| 2 | |
| 3 | from globus_sdk import SpecificFlowClient |
| 4 | from globus_sdk.testing import load_response |
| 5 | |
| 6 | |
| 7 | def test_resume_run(specific_flow_client_class: t.Type[SpecificFlowClient]): |
| 8 | metadata = load_response(SpecificFlowClient.resume_run).metadata |
| 9 | |
| 10 | flow_client = specific_flow_client_class(flow_id=metadata["flow_id"]) |
| 11 | |
| 12 | resp = flow_client.resume_run(metadata["run_id"]) |
| 13 | assert resp.http_status == 200 |