()
| 368 | return pwd.getpwuid(os.getuid()).pw_name |
| 369 | |
| 370 | def write_allowed_files() -> str: |
| 371 | from pathlib import Path |
| 372 | |
| 373 | Path("/sandbox/allowed.txt").write_text("ok") |
| 374 | Path("/tmp/allowed.txt").write_text("ok") |
| 375 | return "ok" |
| 376 | |
| 377 | spec = datamodel_pb2.SandboxSpec(policy=_policy_for_python_proxy_tests()) |
| 378 |
nothing calls this directly
no outgoing calls
no test coverage detected