Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add python tests

Jakub Novak2e5398c4b6c5
diff --git a/packages/python-sdk/tests/async/sandbox_async/test_create.py b/packages/python-sdk/tests/async/sandbox_async/test_create.py
index f4a75c9fa..2574d5d17 100644
--- a/packages/python-sdk/tests/async/sandbox_async/test_create.py
+++ b/packages/python-sdk/tests/async/sandbox_async/test_create.py
@@ -8,6 +8,7 @@ async def test_start(template):
sbx = await AsyncSandbox.create(template, timeout=5)
try:
assert await sbx.is_running()
+ assert sbx._envd_version is not None
finally:
await sbx.kill()
diff --git a/packages/python-sdk/tests/sync/sandbox_sync/test_create.py b/packages/python-sdk/tests/sync/sandbox_sync/test_create.py
index 18d5f9dba..56450138f 100644
--- a/packages/python-sdk/tests/sync/sandbox_sync/test_create.py
+++ b/packages/python-sdk/tests/sync/sandbox_sync/test_create.py
@@ -8,6 +8,7 @@ def test_start(template):
sbx = Sandbox(template, timeout=5)
try:
assert sbx.is_running()
+ assert sbx._envd_version is not None
finally:
sbx.kill()