File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed
Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -464,9 +464,8 @@ def test_azure_entra_id():
464464 json_response = response .json ()
465465
466466 # checking a few major information from response
467- assert "Kubernetes is" in json_response ["response" ]
468467 assert re .search (
469- r"orchestration (tool|system|platform|engine) " ,
468+ r"kubernetes|openshift " ,
470469 json_response ["response" ],
471470 re .IGNORECASE ,
472471 )
Original file line number Diff line number Diff line change @@ -222,9 +222,8 @@ def test_valid_question() -> None:
222222
223223 # checking a few major information from response
224224 assert json_response ["conversation_id" ] == cid
225- assert "Kubernetes is" in json_response ["response" ]
226225 assert re .search (
227- r"orchestration (tool|system|platform|engine) " ,
226+ r"kubernetes|openshift " ,
228227 json_response ["response" ],
229228 re .IGNORECASE ,
230229 )
Original file line number Diff line number Diff line change @@ -209,9 +209,8 @@ def test_valid_question() -> None:
209209
210210 response_utils .check_content_type (response , constants .MEDIA_TYPE_TEXT )
211211
212- assert "Kubernetes is" in response .text
213212 assert re .search (
214- r"orchestration (tool|system|platform|engine) " ,
213+ r"kubernetes|openshift " ,
215214 response .text ,
216215 re .IGNORECASE ,
217216 )
You can’t perform that action at this time.
0 commit comments