File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ def test_establish_pair_creates_active_sessions_and_matching_material() -> None:
8787
8888 assert established .channel_session_id .startswith ("chan-" )
8989 assert len (established .channel_session_id .encode ("utf-8" )) <= SESSION_ID_FIELD_SIZE
90+ assert established .initiator_session .session_id == established .responder_session .session_id
9091 assert established .initiator_session .state == SessionState .ACTIVE
9192 assert established .responder_session .state == SessionState .ACTIVE
9293 assert established .initiator_session .role == SessionRole .INITIATOR
@@ -112,6 +113,7 @@ def test_establish_pair_creates_active_sessions_and_matching_material() -> None:
112113 assert responder_active is not None
113114 assert initiator_active .state == SessionState .ACTIVE
114115 assert responder_active .state == SessionState .ACTIVE
116+ assert initiator_active .session_id == responder_active .session_id
115117
116118
117119def test_channel_session_id_is_deterministic_for_same_transcript_hash () -> None :
You can’t perform that action at this time.
0 commit comments