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

Function validate_accepts_valid_policy

crates/openshell-policy/src/lib.rs:1743–1746  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1741
1742 #[test]
1743 fn validate_accepts_valid_policy() {
1744 let policy = restrictive_default_policy();
1745 assert!(validate_sandbox_policy(&policy).is_ok());
1746 }
1747
1748 #[test]
1749 fn validate_accepts_empty_process() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected