()
| 2060 | |
| 2061 | #[test] |
| 2062 | fn policy_violation_display() { |
| 2063 | let v = PolicyViolation::InvalidProcessIdentity { |
| 2064 | field: "run_as_user", |
| 2065 | value: "root".into(), |
| 2066 | }; |
| 2067 | let s = format!("{v}"); |
| 2068 | assert!(s.contains("root")); |
| 2069 | assert!(s.contains("run_as_user")); |
| 2070 | assert!(s.contains("sandbox")); |
| 2071 | } |
| 2072 | |
| 2073 | // ---- is_valid_sandbox_identity tests ---- |
| 2074 |
nothing calls this directly
no outgoing calls
no test coverage detected