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 f5459c0 commit 1b146b5Copy full SHA for 1b146b5
tests/smoke/scenarios/api_capability_statement_lookup.py
@@ -1,10 +1,17 @@
1
+import os
2
+
3
import pytest
4
5
from tests.utilities.api_clients import ConsumerTestClient, ProducerTestClient
6
7
-@pytest.mark.skip(
- reason="Capability statements aren't working when called via NRLF and not Producer/Consumer API"
8
+def is_public_url():
9
+ return os.environ.get("TEST_CONNECT_MODE") == "public"
10
11
12
+@pytest.mark.skipif(
13
+ not is_public_url(),
14
+ reason="Capability statements only work via APIGEE in persistent environments",
15
)
16
def test_read_api_capability_statements(
17
consumer_client: ConsumerTestClient, producer_client: ProducerTestClient
0 commit comments