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,19 @@
import pytest
from e2b import Sandbox
@pytest.mark.skip_debug()
def test_pause_sandbox(sandbox: Sandbox):
Sandbox.pause(sandbox.sandbox_id)
assert not sandbox.is_running()
@pytest.mark.skip_debug()
def test_resume_sandbox(sandbox: Sandbox):
# pause
Sandbox.pause(sandbox.sandbox_id)
assert not sandbox.is_running()
# resume
Sandbox.connect(sandbox.sandbox_id)
assert sandbox.is_running()