()
| 956 | |
| 957 | #[test] |
| 958 | fn test_parse_turn_end() { |
| 959 | let hook = make_hook(); |
| 960 | let input = br#"{"conversation_id": "c1", "status": "completed"}"#; |
| 961 | let event = hook.parse_event(HookType::TurnEnd, input).unwrap(); |
| 962 | assert_eq!(event.session_id, "c1"); |
| 963 | assert_eq!(event.event_type, HookType::TurnEnd); |
| 964 | } |
| 965 | |
| 966 | #[test] |
| 967 | fn test_parse_turn_end_with_model_and_status() { |
nothing calls this directly
no test coverage detected