File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
tests/model_serving/model_server/upgrade Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 55import yaml
66from kubernetes .dynamic import DynamicClient
77from ocp_resources .config_map import ConfigMap
8- from ocp_resources .inference_service import InferenceService
98from ocp_resources .gateway import Gateway
9+ from ocp_resources .inference_service import InferenceService
1010from ocp_resources .llm_inference_service import LLMInferenceService
1111from ocp_resources .namespace import Namespace
1212from ocp_resources .role import Role
2525 ModelVersion ,
2626 Protocols ,
2727 RuntimeTemplates ,
28+ Timeout ,
2829)
29- from utilities .constants import Timeout
3030from utilities .inference_utils import create_isvc
3131from utilities .infra import (
3232 create_inference_token ,
Original file line number Diff line number Diff line change @@ -421,6 +421,4 @@ def verify_gateway_accepted(gateway: Gateway) -> None:
421421 conditions = gateway .instance .status .get ("conditions" , [])
422422 accepted = any (c .get ("type" ) == "Accepted" and c .get ("status" ) == "True" for c in conditions )
423423 if not accepted :
424- raise AssertionError (
425- f"Gateway { gateway .name } is not Accepted. Conditions: { conditions } "
426- )
424+ raise AssertionError (f"Gateway { gateway .name } is not Accepted. Conditions: { conditions } " )
You can’t perform that action at this time.
0 commit comments