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