mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
test(proxy): match ProxyException code string type in add_new_model test
This commit is contained in:
parent
021b68fb8b
commit
cd4b188c85
1 changed files with 1 additions and 1 deletions
|
|
@ -5919,7 +5919,7 @@ class TestStrategyRouterWriteValidation:
|
|||
),
|
||||
user_api_key_dict=admin,
|
||||
)
|
||||
assert exc_info.value.code == 400
|
||||
assert str(exc_info.value.code) == "400"
|
||||
assert "not a supported or routable provider" in str(
|
||||
exc_info.value.message
|
||||
) or "not a routable provider" in str(exc_info.value.message)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue