We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f1981 commit 83f85a4Copy full SHA for 83f85a4
tests/test_base_api.py
@@ -37,6 +37,10 @@ def mock_c8y() -> CumulocityRestApi:
37
@pytest.fixture(scope='module')
38
def httpbin_basic() -> CumulocityRestApi:
39
"""Provide mock CumulocityRestApi instance for httpbin with basic auth."""
40
+ response = requests.head("https://httpbin.org/")
41
+ if response.status_code != 200:
42
+ pytest.skip(f"Skipped as httpbin.org is temporarily not available (HTTP {response.status_code})")
43
+
44
return CumulocityRestApi(
45
base_url='https://httpbin.org',
46
tenant_id='t12345',
0 commit comments