@@ -163,10 +163,10 @@ def test_guardrails_info_endpoint(self, qwen_isvc, guardrails_orchestrator_healt
163163 assert response_data ["services" ]["regex" ]["status" ] == healthy_status
164164
165165 def test_guardrails_builtin_detectors_unsuitable_input (
166- self , current_client_token , openshift_ca_bundle_file , qwen_isvc , guardrails_orchestrator_route
166+ self , current_client_token , openshift_ca_bundle_file , qwen_isvc , guardrails_orchestrator_gateway_route
167167 ):
168168 response = requests .post (
169- url = f"https://{ guardrails_orchestrator_route .host } { PII_ENDPOINT } { OpenAIEnpoints .CHAT_COMPLETIONS } " ,
169+ url = f"https://{ guardrails_orchestrator_gateway_route .host } { PII_ENDPOINT } { OpenAIEnpoints .CHAT_COMPLETIONS } " ,
170170 headers = get_auth_headers (token = current_client_token ),
171171 json = get_chat_detections_payload (
172172 content = PROMPT_WITH_PII ,
@@ -184,10 +184,10 @@ def test_guardrails_builtin_detectors_unsuitable_input(
184184 )
185185
186186 def test_guardrails_builtin_detectors_unsuitable_output (
187- self , current_client_token , openshift_ca_bundle_file , qwen_isvc , guardrails_orchestrator_route
187+ self , current_client_token , openshift_ca_bundle_file , qwen_isvc , guardrails_orchestrator_gateway_route
188188 ):
189189 response = requests .post (
190- url = f"https://{ guardrails_orchestrator_route .host } { PII_ENDPOINT } { OpenAIEnpoints .CHAT_COMPLETIONS } " ,
190+ url = f"https://{ guardrails_orchestrator_gateway_route .host } { PII_ENDPOINT } { OpenAIEnpoints .CHAT_COMPLETIONS } " ,
191191 headers = get_auth_headers (token = current_client_token ),
192192 json = get_chat_detections_payload (
193193 content = "Output example email address, nothing else." ,
@@ -216,12 +216,12 @@ def test_guardrails_builtin_detectors_negative_detection(
216216 current_client_token ,
217217 openshift_ca_bundle_file ,
218218 qwen_isvc ,
219- guardrails_orchestrator_route ,
219+ guardrails_orchestrator_gateway_route ,
220220 message ,
221221 url_path ,
222222 ):
223223 response = requests .post (
224- url = f"https://{ guardrails_orchestrator_route .host } { url_path } { OpenAIEnpoints .CHAT_COMPLETIONS } " ,
224+ url = f"https://{ guardrails_orchestrator_gateway_route .host } { url_path } { OpenAIEnpoints .CHAT_COMPLETIONS } " ,
225225 headers = get_auth_headers (token = current_client_token ),
226226 json = get_chat_detections_payload (
227227 content = str (message ),
0 commit comments