MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_find_by_oid_string

Function test_find_by_oid_string

crates/stdlib/src/ssl/oid.rs:405–409  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403
404 #[test]
405 fn test_find_by_oid_string() {
406 let entry = find_by_oid_string("2.5.4.3").unwrap();
407 assert_eq!(entry.nid, 13);
408 assert_eq!(entry.short_name, "CN");
409 }
410
411 #[test]
412 fn test_find_by_name_short() {

Callers

nothing calls this directly

Calls 2

find_by_oid_stringFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected