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

Function test_parse_usage_bot

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

Source from the content-addressed store, hash-verified

293
294 #[test]
295 fn test_parse_usage_bot() {
296 let cmd = New {
297 name: "test".to_string(),
298 email: None,
299 identity_type: "agent".to_string(),
300 usage: "bot".to_string(),
301 description: None,
302 set_default: false,
303 set_default_for_usage: false,
304 };
305 assert!(cmd.parse_usage().is_bot());
306 }
307
308 #[test]
309 fn test_new_command_fields() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected