MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / tenancy_mode_multi

Function tenancy_mode_multi

atomic-cli/src/commands/identity/register.rs:514–519  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

512
513 #[test]
514 fn tenancy_mode_multi() {
515 let data = serde_json::json!({"mode": "multi"});
516 let (single, role) = parse_tenancy_mode(&data);
517 assert!(!single);
518 assert_eq!(role, None);
519 }
520
521 #[test]
522 fn tenancy_mode_missing_field_defaults_multi() {

Callers

nothing calls this directly

Calls 1

parse_tenancy_modeFunction · 0.85

Tested by

no test coverage detected