tests/functional/services/compute/conftest.py
raw| 1 | import pytest |
| 2 | |
| 3 | import globus_sdk |
| 4 | |
| 5 | |
| 6 | @pytest.fixture |
| 7 | def compute_client_v2(): |
| 8 | client = globus_sdk.ComputeClientV2() |
| 9 | with client.retry_config.tune(max_retries=0): |
| 10 | yield client |
| 11 | |
| 12 | |
| 13 | @pytest.fixture |
| 14 | def compute_client_v3(): |
| 15 | client = globus_sdk.ComputeClientV3() |
| 16 | with client.retry_config.tune(max_retries=0): |
| 17 | yield client |