diff --git a/tests/channels/test_websocket_channel.py b/tests/channels/test_websocket_channel.py index d687cc9e2..8f3066f36 100644 --- a/tests/channels/test_websocket_channel.py +++ b/tests/channels/test_websocket_channel.py @@ -1057,7 +1057,8 @@ async def test_settings_api_returns_safe_subset_and_updates_whitelist( assert image_providers["openrouter"]["configured"] is False assert image_providers["gemini"]["label"] == "Gemini" assert body["runtime"]["config_path"] == str(config_path) - assert body["runtime"]["workspace_path"].endswith(".nanobot/workspace") + workspace_path = body["runtime"]["workspace_path"].replace("\\", "/") + assert workspace_path.endswith("/.nanobot/workspace") assert body["runtime"]["gateway_port"] == 18790 assert body["advanced"]["exec_enabled"] is True assert body["advanced"]["mcp_server_count"] == 0