mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-13 02:22:50 +00:00
test: update tests
This commit is contained in:
@@ -1722,8 +1722,11 @@ async def test_add_router_settings_from_db_config_merge_logic():
|
||||
assert combined_settings["retry_delay"] == 2
|
||||
|
||||
# Nested dictionaries should be merged (but this is shallow merge)
|
||||
# The entire nested_config dict gets replaced by DB value
|
||||
expected_nested = {"setting2": "db_value2", "setting3": "db_value3"}
|
||||
expected_nested = {
|
||||
"setting1": "config_value1",
|
||||
"setting2": "db_value2",
|
||||
"setting3": "db_value3",
|
||||
}
|
||||
assert combined_settings["nested_config"] == expected_nested
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user