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,16 @@
import pytest
from e2b import Sandbox, SandboxQuery, SandboxState
@pytest.mark.skip_debug()
def test_kill(sandbox: Sandbox, sandbox_test_id: str):
sandbox.kill()
paginator = Sandbox.list(
query=SandboxQuery(
state=[SandboxState.RUNNING], metadata={"sandbox_test_id": sandbox_test_id}
)
)
sandboxes = paginator.next_items()
assert sandbox.sandbox_id not in [s.sandbox_id for s in sandboxes]