fixed workspace not existing during tests

This commit is contained in:
2026-03-04 23:23:12 -07:00
parent e743167ba5
commit 7f0c27b601
+4
View File
@@ -12,6 +12,10 @@ class PodmanSandbox:
self.container = None
async def __aenter__(self):
# ensure workspace directory exists, create if it doesn't
workspace_path = Path(settings.safedir).resolve()
workspace_path.mkdir(parents=True, exist_ok=True)
self.container = self.client.containers.run(
"python:3.14",
command=["sleep", "60h"],