()
| 212 | |
| 213 | #[test] |
| 214 | fn test_agent_identity() { |
| 215 | let agent = Identity::builder("ci-bot") |
| 216 | .identity_type(IdentityType::Agent) |
| 217 | .usage(IdentityUsage::Bot) |
| 218 | .build() |
| 219 | .unwrap(); |
| 220 | |
| 221 | assert!(agent.identity_type.is_agent()); |
| 222 | assert!(agent.usage.is_bot()); |
| 223 | } |
| 224 | |
| 225 | #[test] |
| 226 | fn test_delegated_identity() { |
nothing calls this directly
no test coverage detected