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

Function configured_compute_driver_accepts_vm

crates/openshell-server/src/lib.rs:1281–1289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1279
1280 #[test]
1281 fn configured_compute_driver_accepts_vm() {
1282 let config = Config::new(None).with_compute_drivers([ComputeDriverKind::Vm]);
1283 let driver =
1284 configured_compute_driver(&config, test_driver_startup(&config, None)).unwrap();
1285 assert!(matches!(
1286 driver,
1287 ConfiguredComputeDriver::Builtin(ComputeDriverKind::Vm)
1288 ));
1289 }
1290
1291 #[test]
1292 fn configured_compute_driver_accepts_docker() {

Callers

nothing calls this directly

Calls 3

test_driver_startupFunction · 0.85
with_compute_driversMethod · 0.80

Tested by

no test coverage detected