Skip to content

Commit 0b6e8cf

Browse files
committed
update create_ca_bundle_file calls
1 parent c729d5d commit 0b6e8cf

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

tests/conftest.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -690,9 +690,7 @@ def prometheus(admin_client: DynamicClient) -> Prometheus:
690690
return Prometheus(
691691
client=admin_client,
692692
resource_name="thanos-querier",
693-
verify_ssl=create_ca_bundle_file(
694-
client=admin_client, ca_type="openshift"
695-
), # TODO: Verify SSL with appropriate certs
693+
verify_ssl=create_ca_bundle_file(client=admin_client), # TODO: Verify SSL with appropriate certs
696694
bearer_token=get_openshift_token(),
697695
)
698696

tests/model_explainability/evalhub/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ def evalhub_ca_bundle_file(
6666
admin_client: DynamicClient,
6767
) -> str:
6868
"""Create a CA bundle file for verifying the EvalHub route TLS certificate."""
69-
return create_ca_bundle_file(client=admin_client, ca_type="openshift")
69+
return create_ca_bundle_file(client=admin_client)

tests/model_explainability/guardrails/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def prompt_injection_detector_route(
107107
def openshift_ca_bundle_file(
108108
admin_client: DynamicClient,
109109
) -> str:
110-
return create_ca_bundle_file(client=admin_client, ca_type="openshift")
110+
return create_ca_bundle_file(client=admin_client)
111111

112112

113113
@pytest.fixture(scope="class")

tests/model_explainability/trustyai_service/trustyai_service_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(self, token: str, service: TrustyAIService, client: DynamicClient):
5959
self.service_route = Route(
6060
client=client, namespace=service.namespace, name=TRUSTYAI_SERVICE_NAME, ensure_exists=True
6161
)
62-
self.cert_path = create_ca_bundle_file(client=client, ca_type="openshift")
62+
self.cert_path = create_ca_bundle_file(client=client)
6363

6464
def _get_metric_base_url(self, metric_name: str) -> str:
6565
"""Gets base URL for a given metric type (fairness or drift).

0 commit comments

Comments
 (0)