MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / check_status_suspended_err

Function check_status_suspended_err

nodedb/src/control/security/auth_context.rs:434–438  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

432
433 #[test]
434 fn check_status_suspended_err() {
435 let mut ctx = AuthContext::from_identity(&test_identity(), "s_test_006".into());
436 ctx.status = AuthStatus::Suspended;
437 assert!(ctx.check_status().is_err());
438 }
439
440 #[test]
441 fn check_status_banned_err() {

Callers

nothing calls this directly

Calls 1

test_identityFunction · 0.70

Tested by

no test coverage detected