Files
2026-07-13 12:47:58 +08:00

9 lines
179 B
Python

from e2b import Sandbox
def test_exists(sandbox: Sandbox):
filename = "test_exists.txt"
sandbox.files.write(filename, "test")
assert sandbox.files.exists(filename)