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

Function test_fallback_author

atomic-agent/src/identity.rs:561–574  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

559
560 #[test]
561 fn test_fallback_author() {
562 let options = AgentAuthorOptions {
563 agent_name: "claude-code",
564 agent_display_name: "Claude Code",
565 session_id: "sess-123",
566 identity_dir: None,
567 };
568
569 let author = fallback_agent_author(&options);
570
571 assert_eq!(author.name, "Claude Code");
572 assert!(author.email.is_none());
573 assert!(author.identity.is_none());
574 }
575
576 // resolve_agent_author (integration)
577

Callers

nothing calls this directly

Calls 1

fallback_agent_authorFunction · 0.85

Tested by

no test coverage detected