fix(tests): make settings workspace path portable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user