Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix comments in tests (#613)
Jakub Nováke045df9d5022
diff --git a/packages/python-sdk/tests/async/sandbox_async/test_port_closed.py b/packages/python-sdk/tests/async/sandbox_async/test_port_closed.pyindex 4c44e13eb..8a14baad5 100644--- a/packages/python-sdk/tests/async/sandbox_async/test_port_closed.py+++ b/packages/python-sdk/tests/async/sandbox_async/test_port_closed.py@@ -11,14 +11,14 @@ async def test_port_closed(template):assert await sbx.is_running()good_port = 8002- # Start a Python HTTP server on port 8000+ # Start a Python HTTP server on port 8002await sbx.commands.run(f"python -m http.server {good_port}",background=True,)await asyncio.sleep(1) # Wait for server to start- # Test good port (8000)+ # Test good port (8002)good_host = sbx.get_host(good_port)async with httpx.AsyncClient() as client:for _ in range(20):diff --git a/packages/python-sdk/tests/sync/sandbox_sync/test_port_closed.py b/packages/python-sdk/tests/sync/sandbox_sync/test_port_closed.pyindex 3c7c8d77e..486accfea 100644--- a/packages/python-sdk/tests/sync/sandbox_sync/test_port_closed.py+++ b/packages/python-sdk/tests/sync/sandbox_sync/test_port_closed.py@@ -11,14 +11,14 @@ def test_port_closed(template):assert sbx.is_running()good_port = 8004- # Start a Python HTTP server on port 8000+ # Start a Python HTTP server on port 8004sbx.commands.run(f"python -m http.server {good_port}",background=True,)time.sleep(1) # Wait for server to start- # Test good port (8000)+ # Test good port (8004)good_host = sbx.get_host(good_port)with httpx.Client() as client:for _ in range(10):