()
| 51 | |
| 52 | |
| 53 | def _policy_for_python_proxy_tests() -> sandbox_pb2.SandboxPolicy: |
| 54 | return _base_policy( |
| 55 | network_policies={ |
| 56 | "python": sandbox_pb2.NetworkPolicyRule( |
| 57 | name="python", |
| 58 | endpoints=[ |
| 59 | sandbox_pb2.NetworkEndpoint(host="api.openai.com", port=443) |
| 60 | ], |
| 61 | binaries=[ |
| 62 | sandbox_pb2.NetworkBinary(path="/sandbox/.uv/python/**/python*") |
| 63 | ], |
| 64 | ) |
| 65 | }, |
| 66 | ) |
| 67 | |
| 68 | |
| 69 | # ============================================================================= |
no test coverage detected