From 83766518399d3f82ceb02745ecb57a0c6449be8d Mon Sep 17 00:00:00 2001 From: kthui <18255193+kthui@users.noreply.github.com> Date: Tue, 26 Nov 2024 11:09:53 -0800 Subject: [PATCH] Minor fixes --- ci/L0_check_health_vllm/check_health_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/L0_check_health_vllm/check_health_test.py b/ci/L0_check_health_vllm/check_health_test.py index b5d8d6e..dea599c 100644 --- a/ci/L0_check_health_vllm/check_health_test.py +++ b/ci/L0_check_health_vllm/check_health_test.py @@ -96,7 +96,7 @@ def _assert_model_ready(self, expected_readiness): model_state = None for model_index in client.get_model_repository_index().models: if model_index.name == self._model_name: - assert model_state == None, "duplicate model index found" + assert model_state is None, "duplicate model index found" model_state = model_index.state == "READY" assert model_state == expected_readiness