MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / test_sandbox_context

Function test_sandbox_context

crates/openshell-ocsf/src/builders/mod.rs:255–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

253
254#[cfg(test)]
255pub(crate) fn test_sandbox_context() -> SandboxContext {
256 SandboxContext {
257 sandbox_id: "sandbox-abc123".to_string(),
258 sandbox_name: "my-sandbox".to_string(),
259 container_image: "ghcr.io/openshell/sandbox:latest".to_string(),
260 hostname: "sandbox-abc123".to_string(),
261 product_version: "0.1.0".to_string(),
262 proxy_ip: "10.42.0.1".parse().unwrap(),
263 proxy_port: 3128,
264 }
265}
266
267#[cfg(test)]
268mod tests {

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected