chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:47:58 +08:00
commit b16403ea71
789 changed files with 115226 additions and 0 deletions
@@ -0,0 +1,26 @@
import pytest
from e2b import AsyncSandbox
@pytest.mark.skip_debug()
async def test_start_secured(async_sandbox_factory):
sbx = await async_sandbox_factory(timeout=5, secure=True)
assert await sbx.is_running()
assert sbx._envd_version is not None
assert sbx._envd_access_token is not None
@pytest.mark.skip_debug()
async def test_connect_to_secured(async_sandbox_factory):
sbx = await async_sandbox_factory(timeout=100, secure=True)
assert await sbx.is_running()
assert sbx._envd_version is not None
assert sbx._envd_access_token is not None
sbx_connection = await AsyncSandbox.connect(sbx.sandbox_id)
assert await sbx_connection.is_running()
assert sbx_connection._envd_version is not None
assert sbx_connection._envd_access_token is not None