Skip to content

Commit 824ba72

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 16a7e85 commit 824ba72

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • tests/model_serving/model_server/upgrade

tests/model_serving/model_server/upgrade/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,7 @@ def verify_gateway_accepted(gateway: Gateway) -> None:
401401

402402
conditions = gateway.instance.status.get("conditions", [])
403403
is_accepted = any(
404-
condition.get("type") == "Accepted" and condition.get("status") == "True"
405-
for condition in conditions
404+
condition.get("type") == "Accepted" and condition.get("status") == "True" for condition in conditions
406405
)
407406
if not is_accepted:
408407
raise AssertionError(f"Gateway {gateway.name} is not Accepted. Conditions: {conditions}")

0 commit comments

Comments
 (0)