File: conftest.py

package info (click to toggle)
python-globus-sdk 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,172 kB
  • sloc: python: 35,227; sh: 44; makefile: 35
file content (17 lines) | stat: -rw-r--r-- 345 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import pytest

import globus_sdk


@pytest.fixture
def compute_client_v2():
    client = globus_sdk.ComputeClientV2()
    with client.retry_config.tune(max_retries=0):
        yield client


@pytest.fixture
def compute_client_v3():
    client = globus_sdk.ComputeClientV3()
    with client.retry_config.tune(max_retries=0):
        yield client