From 4c2ff28f985bada891764125e8babf8a15d8c3f5 Mon Sep 17 00:00:00 2001 From: yucheng-berri <293926326+yucheng-berri@users.noreply.github.com> Date: Tue, 20 Oct 2026 03:03:39 -0700 Subject: [PATCH] test(router): match the collision refusal without regex metacharacters --- tests/integration/routing/test_raw_model_group_collision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/routing/test_raw_model_group_collision.py b/tests/integration/routing/test_raw_model_group_collision.py index e9a12172739..27eaa286000 100644 --- a/tests/integration/routing/test_raw_model_group_collision.py +++ b/tests/integration/routing/test_raw_model_group_collision.py @@ -347,7 +347,7 @@ def test_sdk_clients_get_a_bad_request_error_for_a_shared_raw_model_string( with guarded.scenario() as scenario: peer.drain() - with pytest.raises(error, match="is the litellm_params.model of more than one model group"): + with pytest.raises(error, match="more than one model group"): call(guarded, scenario.key()) assert peer.drain() == ()