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

Function test_server_auth_eku

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

Source from the content-addressed store, hash-verified

437
438 #[test]
439 fn test_server_auth_eku() {
440 let entry = find_by_nid(129).unwrap();
441 assert_eq!(entry.short_name, "serverAuth");
442 assert_eq!(entry.oid_string(), "1.3.6.1.5.5.7.3.1");
443 }
444
445 #[test]
446 fn test_no_duplicate_nids() {

Callers

nothing calls this directly

Calls 2

find_by_nidFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected