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

Function test_provenance_session_id

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

Source from the content-addressed store, hash-verified

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