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

Function test_provenance_no_prompt

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

Source from the content-addressed store, hash-verified

649
650#[test]
651fn test_provenance_no_prompt() {
652 let session = make_session();
653 let event = make_event();
654 let mut options = make_options(&session, &event);
655 options.prompt = None;
656
657 let prov = build_turn_provenance(&options);
658 assert!(matches!(prov.prompt, PromptContent::None));
659}
660
661#[test]
662fn test_provenance_suggestion_type_complete() {

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