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,15 @@
import pytest
from e2b import AsyncSandbox
@pytest.mark.skip_debug()
async def test_snapshot(async_sandbox: AsyncSandbox):
assert await async_sandbox.is_running()
await async_sandbox.pause()
assert not await async_sandbox.is_running()
resumed_sandbox = await async_sandbox.connect()
assert await async_sandbox.is_running()
assert await resumed_sandbox.is_running()
assert resumed_sandbox.sandbox_id == async_sandbox.sandbox_id