test(gateway): accept keyword args in _connect_adapter_with_timeout mocks

This commit is contained in:
Teknium committed 2026-08-14 21:57:41 -07:00
1 parent c22815fcaa
commit f8d75db026
1 file changed
+2 -2
@@ -409,7 +409,7 @@ class TestSecondaryProfileConfigHandling:
GatewayRunner._adapter_listener_claim(photon, primary): "default"
}
async def _connect(adapter, platform):
async def _connect(adapter, platform, **_kw):
adapter.connected = True
return True
@@ -468,7 +468,7 @@ class TestSecondaryProfileConfigHandling:
adapters = iter((failed, later))
claimed = {}
async def _connect(adapter, platform):
async def _connect(adapter, platform, **_kw):
return adapter.should_connect
monkeypatch.setattr("gateway.config.load_gateway_config", lambda: profile_cfg)