(socket_path: PathBuf)
| 178 | } |
| 179 | |
| 180 | fn test_service(socket_path: PathBuf) -> ComputeDriverService { |
| 181 | let config = PodmanComputeConfig { |
| 182 | socket_path, |
| 183 | stop_timeout_secs: 10, |
| 184 | ..PodmanComputeConfig::default() |
| 185 | }; |
| 186 | ComputeDriverService::new(PodmanComputeDriver::for_tests(config)) |
| 187 | } |
| 188 | |
| 189 | fn api_path(path: &str) -> String { |
| 190 | format!("/v5.0.0{path}") |
no outgoing calls
no test coverage detected