Skip to content

Commit d9b1892

Browse files
committed
Fix: update unit test to use stream_logs endpoint instead of logs
1 parent 5e88161 commit d9b1892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_vmclient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ async def websocket_handler(request):
173173

174174
app = web.Application()
175175
app.router.add_route(
176-
"GET", "/control/machine/{vm_id}/logs", websocket_handler
176+
"GET", "/control/machine/{vm_id}/stream_logs", websocket_handler
177177
) # Update route to match the URL
178178

179179
client = await aiohttp_client(app)
@@ -254,7 +254,7 @@ async def websocket_handler(request):
254254

255255
app = web.Application()
256256
app.router.add_route(
257-
"GET", "/control/machine/{vm_id}/logs", websocket_handler
257+
"GET", "/control/machine/{vm_id}/stream_logs", websocket_handler
258258
) # Update route to match the URL
259259

260260
client = await aiohttp_client(app)

0 commit comments

Comments
 (0)