Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Uncomment is running tests
Jakub Novak2b3aa5d52b24
diff --git a/packages/python-sdk/tests/async/sandbox_async/test_timeout.py b/packages/python-sdk/tests/async/sandbox_async/test_timeout.pyindex 349904a89..0e40e251d 100644--- a/packages/python-sdk/tests/async/sandbox_async/test_timeout.py+++ b/packages/python-sdk/tests/async/sandbox_async/test_timeout.py@@ -8,12 +8,12 @@ from e2b import AsyncSandbox@pytest.mark.skip_debug()@pytest.mark.asyncio[email protected](reason="is_running takes too long if the sandbox was just killed")async def test_shorten_timeout(async_sandbox: AsyncSandbox):await async_sandbox.set_timeout(5)sleep(6)- with pytest.raises(TimeoutException):- await async_sandbox.is_running(request_timeout=5)++ is_running = await async_sandbox.is_running()+ assert is_running is False@pytest.mark.skip_debug()diff --git a/packages/python-sdk/tests/sync/sandbox_sync/test_timeout.py b/packages/python-sdk/tests/sync/sandbox_sync/test_timeout.pyindex d3652fd70..fb7121a5b 100644--- a/packages/python-sdk/tests/sync/sandbox_sync/test_timeout.py+++ b/packages/python-sdk/tests/sync/sandbox_sync/test_timeout.py@@ -5,12 +5,12 @@ import pytest@pytest.mark.skip_debug()[email protected](reason="is_running takes too long if the sandbox was just killed")def test_shorten_timeout(sandbox):sandbox.set_timeout(5)sleep(6)- with pytest.raises(TimeoutException):- sandbox.is_running(request_timeout=5)++ is_running = sandbox.is_running(request_timeout=5)+ assert is_running is False@pytest.mark.skip_debug()