()
| 202 | |
| 203 | #[test] |
| 204 | fn test_agent_identity() { |
| 205 | let agent = Identity::builder("ci-bot") |
| 206 | .identity_type(IdentityType::Agent) |
| 207 | .usage(IdentityUsage::Bot) |
| 208 | .build() |
| 209 | .unwrap(); |
| 210 | |
| 211 | assert!(agent.identity_type.is_agent()); |
| 212 | assert!(agent.usage.is_bot()); |
| 213 | } |
| 214 | |
| 215 | #[test] |
| 216 | fn test_delegated_identity() { |
nothing calls this directly
no test coverage detected