()
| 4647 | } |
| 4648 | |
| 4649 | fn forward_test_guard() -> PolicyGenerationGuard { |
| 4650 | let policy = include_str!("../data/sandbox-policy.rego"); |
| 4651 | let policy_data = "network_policies: {}\n"; |
| 4652 | let engine = OpaEngine::from_strings(policy, policy_data).unwrap(); |
| 4653 | engine |
| 4654 | .generation_guard(engine.current_generation()) |
| 4655 | .unwrap() |
| 4656 | } |
| 4657 | |
| 4658 | async fn relay_forward_request_and_capture( |
| 4659 | method: &str, |
no test coverage detected