()
| 1562 | |
| 1563 | #[test] |
| 1564 | fn wrong_port_denied() { |
| 1565 | let engine = test_engine(); |
| 1566 | let input = NetworkInput { |
| 1567 | host: "api.anthropic.com".into(), |
| 1568 | port: 80, |
| 1569 | binary_path: PathBuf::from("/usr/bin/node"), |
| 1570 | binary_sha256: "unused".into(), |
| 1571 | ancestors: vec![], |
| 1572 | cmdline_paths: vec![], |
| 1573 | }; |
| 1574 | let decision = engine.evaluate_network(&input).unwrap(); |
| 1575 | assert!(!decision.allowed); |
| 1576 | } |
| 1577 | |
| 1578 | #[test] |
| 1579 | fn query_sandbox_config_extracts_filesystem() { |
nothing calls this directly
no test coverage detected