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

Function test_provenance_tool

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

Source from the content-addressed store, hash-verified

617
618#[test]
619fn test_provenance_tool() {
620 let session = make_session();
621 let event = make_event();
622 let options = make_options(&session, &event);
623
624 let prov = build_turn_provenance(&options);
625 assert_eq!(prov.tool, AITool::Cli("claude-code".to_string()));
626}
627
628#[test]
629fn 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