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

Function test_provenance_no_prompt

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

Source from the content-addressed store, hash-verified

644
645#[test]
646fn test_provenance_no_prompt() {
647 let session = make_session();
648 let event = make_event();
649 let mut options = make_options(&session, &event);
650 options.prompt = None;
651
652 let prov = build_turn_provenance(&options);
653 assert!(matches!(prov.prompt, PromptContent::None));
654}
655
656#[test]
657fn 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