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

Function test_http_response

crates/openshell-ocsf/src/objects/http.rs:142–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140
141 #[test]
142 fn test_http_response() {
143 let resp = HttpResponse { code: 200 };
144 let json = serde_json::to_value(&resp).unwrap();
145 assert_eq!(json["code"], 200);
146 }
147}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected