mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-26 01:12:21 +00:00
test(proxy): restore saved_configs capture in team default params test
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
f0b8ca53e7
commit
9d201a74eb
1 changed files with 3 additions and 1 deletions
|
|
@ -550,6 +550,8 @@ class TestUpdateLitellmSettingOrdering:
|
|||
}
|
||||
})
|
||||
|
||||
saved_configs = []
|
||||
|
||||
async def mock_save_config(new_config=None):
|
||||
saved_configs.append(new_config)
|
||||
|
||||
|
|
@ -579,7 +581,7 @@ class TestUpdateLitellmSettingOrdering:
|
|||
|
||||
# Saved config should contain the new value
|
||||
assert len(saved_configs) == 1
|
||||
saved_settings = saved_configs[0]["litellm_settings"]["default_team_params"]
|
||||
saved_settings = saved_configs[0].litellm_settings["default_team_params"]
|
||||
assert saved_settings == expected
|
||||
|
||||
# Return value should reflect the new settings
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue