mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
test(team): stub premium_user so budget validation tests pass without a license
This commit is contained in:
parent
afaa44e0de
commit
a261722efb
1 changed files with 2 additions and 1 deletions
|
|
@ -10755,7 +10755,8 @@ class TestValidateTeamModelMaxBudget:
|
|||
_validate_team_model_max_budget,
|
||||
)
|
||||
|
||||
_validate_team_model_max_budget(model_max_budget)
|
||||
with patch("litellm.proxy.proxy_server.premium_user", True):
|
||||
_validate_team_model_max_budget(model_max_budget)
|
||||
|
||||
def test_normalized_duplicate_entries_rejected(self):
|
||||
from litellm.proxy._types import ProxyException
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue