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

Function parse_add_endpoint_basic_l4

crates/openshell-cli/src/policy_update.rs:481–487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

479
480 #[test]
481 fn parse_add_endpoint_basic_l4() {
482 let plan =
483 build_policy_update_plan(&["ghcr.io:443".to_string()], &[], &[], &[], &[], &[], None)
484 .expect("plan should build");
485 assert_eq!(plan.merge_operations.len(), 1);
486 assert_eq!(plan.preview_operations.len(), 1);
487 }
488
489 #[test]
490 fn parse_add_endpoint_rejects_bad_access() {

Callers

nothing calls this directly

Calls 1

build_policy_update_planFunction · 0.85

Tested by

no test coverage detected