MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / rejects_invalid_explicit_engine

Function rejects_invalid_explicit_engine

e2e/rust/src/harness/container.rs:533–542  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

531
532 #[test]
533 fn rejects_invalid_explicit_engine() {
534 let probe = FakeContainerEngineProbe {
535 docker_exists: true,
536 podman_exists: true,
537 docker_is_podman_shim: false,
538 };
539
540 let err = resolve(&probe, None, Some("containerd"), None).unwrap_err();
541 assert!(err.contains("CONTAINER_ENGINE=containerd"));
542 }
543
544 #[test]
545 fn rejects_explicit_driver_conflict() {

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected