From a4c8a849b681d0e3d0675bb0e1a911fdd1b1f474 Mon Sep 17 00:00:00 2001 From: Matthew Farrellee Date: Sun, 27 Apr 2025 10:36:54 -0400 Subject: [PATCH] Revert "vllm unit test, check for exception on error" This reverts commit 519afdde5f863a907a7099c8dc9a492e3aabf1fc. --- tests/unit/providers/inference/test_remote_vllm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/providers/inference/test_remote_vllm.py b/tests/unit/providers/inference/test_remote_vllm.py index 491b2ba2e..88399198d 100644 --- a/tests/unit/providers/inference/test_remote_vllm.py +++ b/tests/unit/providers/inference/test_remote_vllm.py @@ -107,8 +107,8 @@ async def test_register_model_checks_vllm(mock_openai_models_list, vllm_inferenc foo_model = Model(identifier="foo", provider_resource_id="foo", provider_id="vllm-inference") - with pytest.raises(ValueError): - await vllm_inference_adapter.register_model(foo_model) + await vllm_inference_adapter.register_model(foo_model) + mock_openai_models_list.assert_called() @pytest.mark.asyncio