()
| 1489 | |
| 1490 | #[test] |
| 1491 | fn parse_minimal_policy_yaml() { |
| 1492 | let yaml = "version: 1\n"; |
| 1493 | let policy = parse_sandbox_policy(yaml).expect("should parse"); |
| 1494 | assert_eq!(policy.version, 1); |
| 1495 | assert!(policy.network_policies.is_empty()); |
| 1496 | assert!(policy.filesystem.is_none()); |
| 1497 | } |
| 1498 | |
| 1499 | #[test] |
| 1500 | fn parse_policy_with_network_rules() { |
nothing calls this directly
no test coverage detected