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

Function tenancy_mode_multi

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

Source from the content-addressed store, hash-verified

421
422 #[test]
423 fn tenancy_mode_multi() {
424 let data = serde_json::json!({"mode": "multi"});
425 let (single, role) = parse_tenancy_mode(&data);
426 assert!(!single);
427 assert_eq!(role, None);
428 }
429
430 #[test]
431 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