test(webui): provide local handshake for session deletion

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-24 13:17:39 +08:00
1 parent 9a6d328d7f
commit 6f49eee2ac
1 file changed
+1
@@ -2391,6 +2391,7 @@ async def test_session_delete_removes_unpersisted_new_chat(
channel = _ch(bus, session_manager=sm, workspace_path=tmp_path, port=_free_port())
connection = AsyncMock()
connection.remote_address = ("127.0.0.1", 50123)
connection.request.headers = {"Host": "localhost"}
await channel._dispatch_envelope(
connection,