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

Function test_engine

crates/openshell-supervisor-network/src/opa.rs:1384–1386  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1382 const TEST_DATA_YAML: &str = include_str!("../testdata/sandbox-policy.yaml");
1383
1384 fn test_engine() -> OpaEngine {
1385 OpaEngine::from_strings(TEST_POLICY, TEST_DATA_YAML).expect("Failed to load test policy")
1386 }
1387
1388 fn test_proto() -> ProtoSandboxPolicy {
1389 let mut network_policies = std::collections::HashMap::new();

Calls

no outgoing calls

Tested by

no test coverage detected