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

Function test_provenance_session_id

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

Source from the content-addressed store, hash-verified

627
628#[test]
629fn test_provenance_session_id() {
630 let session = make_session();
631 let event = make_event();
632 let options = make_options(&session, &event);
633
634 let prov = build_turn_provenance(&options);
635 assert_eq!(prov.session_id, Some("sess-test-123".to_string()));
636}
637
638#[test]
639fn 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