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

Function tenancy_mode_multi

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

Source from the content-addressed store, hash-verified

492
493 #[test]
494 fn tenancy_mode_multi() {
495 let data = serde_json::json!({"mode": "multi"});
496 let (single, role) = parse_tenancy_mode(&data);
497 assert!(!single);
498 assert_eq!(role, None);
499 }
500
501 #[test]
502 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