From 3085f821790f8adf6efd98191cbfb56776e74db6 Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Sat, 21 Feb 2026 14:46:46 -0700 Subject: [PATCH] fixed async call issue --- tests/test_sandbox.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_sandbox.py b/tests/test_sandbox.py index 5279fcd..9dd84ff 100644 --- a/tests/test_sandbox.py +++ b/tests/test_sandbox.py @@ -1,3 +1,4 @@ +import asyncio from unittest.mock import AsyncMock, MagicMock, patch import pytest @@ -137,7 +138,7 @@ async def test_real_sandbox_starts(): assert sb.container is not None # Verify container is actually running - result = await sb.run("echo 'sandbox started'") + result = await asyncio.to_thread(sb.run, "echo 'sandbox started'") assert "sandbox started" in result