test(proxy): type the router settings source test parameters

This commit is contained in:
Yuneng Jiang 2026-09-21 15:00:24 -07:00
parent 4602376977
commit 1cc38f05f4
No known key found for this signature in database

View file

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