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

Function test_provenance_tool

atomic-agent/src/record/tests.rs:614–621  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

612
613#[test]
614fn test_provenance_tool() {
615 let session = make_session();
616 let event = make_event();
617 let options = make_options(&session, &event);
618
619 let prov = build_turn_provenance(&options);
620 assert_eq!(prov.tool, AITool::Cli("claude-code".to_string()));
621}
622
623#[test]
624fn test_provenance_session_id() {

Callers

nothing calls this directly

Calls 4

make_eventFunction · 0.85
make_optionsFunction · 0.85
build_turn_provenanceFunction · 0.85
make_sessionFunction · 0.70

Tested by

no test coverage detected