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