test(router): match the collision refusal without regex metacharacters

This commit is contained in:
yucheng-berri 2026-10-20 03:03:39 -07:00
parent c5e5bfbab4
commit 4c2ff28f98

View file

@ -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() == ()