We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75ba2ce commit ea303bdCopy full SHA for ea303bd
tests/sandbox/test_entries.py
@@ -1,5 +1,6 @@
1
from __future__ import annotations
2
3
+import hashlib
4
import io
5
import os
6
from collections.abc import Awaitable, Callable, Sequence
@@ -124,6 +125,7 @@ async def test_base_sandbox_session_uses_current_working_directory_for_local_fil
124
125
result = await session.apply_manifest()
126
127
assert result.files[0].path == Path("/workspace/copied.txt")
128
+ assert result.files[0].sha256 == hashlib.sha256(b"hello").hexdigest()
129
assert session.writes[Path("/workspace/copied.txt")] == b"hello"
130
131
0 commit comments