()
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected