test(team): stub premium_user so budget validation tests pass without a license

This commit is contained in:
ryan-crabbe-berri 2026-08-03 15:01:47 -07:00
parent afaa44e0de
commit a261722efb

View file

@ -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