mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
test(proxy): type the router settings source test parameters
This commit is contained in:
parent
4602376977
commit
1cc38f05f4
1 changed files with 3 additions and 1 deletions
|
|
@ -89,7 +89,9 @@ class TestRouterSettingsEndpoints:
|
|||
assert len(routing_strategy_field["options"]) > 0
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_get_router_settings_reports_sources(self, monkeypatch):
|
||||
async def test_get_router_settings_reports_sources(
|
||||
self, monkeypatch: pytest.MonkeyPatch
|
||||
) -> None:
|
||||
store = SettingsStore("router_settings")
|
||||
store.load_yaml({"routing_strategy": "simple-shuffle"})
|
||||
store.apply_db_row("router_settings", {"num_retries": 3})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue