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

Function unknown_path_404

crates/openshell-sandbox/src/google_cloud_metadata.rs:413–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

411
412 #[test]
413 fn unknown_path_404() {
414 let ctx = make_context(HashMap::new());
415 let (status, _, _) = route_request(
416 &ctx,
417 "GET",
418 "/computeMetadata/v1/unknown",
419 &flavor_headers(),
420 );
421 assert_eq!(status, 404);
422 }
423
424 #[test]
425 fn no_credentials_503() {

Callers

nothing calls this directly

Calls 3

make_contextFunction · 0.85
flavor_headersFunction · 0.85
route_requestFunction · 0.70

Tested by

no test coverage detected