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

Function test_provenance_session_id

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

Source from the content-addressed store, hash-verified

622
623#[test]
624fn test_provenance_session_id() {
625 let session = make_session();
626 let event = make_event();
627 let options = make_options(&session, &event);
628
629 let prov = build_turn_provenance(&options);
630 assert_eq!(prov.session_id, Some("sess-test-123".to_string()));
631}
632
633#[test]
634fn test_provenance_prompt_hash() {

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