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

Function test_parse_usage_community

atomic-cli/src/commands/identity/new.rs:281–292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

279
280 #[test]
281 fn test_parse_usage_community() {
282 let cmd = New {
283 name: "test".to_string(),
284 email: None,
285 identity_type: "user".to_string(),
286 usage: "community".to_string(),
287 description: None,
288 set_default: false,
289 set_default_for_usage: false,
290 };
291 assert!(cmd.parse_usage().is_community());
292 }
293
294 #[test]
295 fn test_parse_usage_bot() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected