comparison tests/unit/test_plugin_xep_0167.py @ 4213:716dd791be46

tests (unit): fix tests
author Goffi <goffi@goffi.org>
date Fri, 23 Feb 2024 15:42:02 +0100
parents 4b842c1fb686
children
comparison
equal deleted inserted replaced
4212:5f2d496c633f 4213:716dd791be46
92 expected_sdp = ( 92 expected_sdp = (
93 "v=0\r\n" 93 "v=0\r\n"
94 f"o={base64.b64encode('toto@example.org/test'.encode()).decode()} 1 1 IN IP4 0.0.0.0\r\n" 94 f"o={base64.b64encode('toto@example.org/test'.encode()).decode()} 1 1 IN IP4 0.0.0.0\r\n"
95 "s=-\r\n" 95 "s=-\r\n"
96 "t=0 0\r\n" 96 "t=0 0\r\n"
97 "a=sendrecv\r\n"
98 "a=msid-semantic:WMS *\r\n" 97 "a=msid-semantic:WMS *\r\n"
99 "m=audio 9999 UDP/TLS/RTP/SAVPF 96\r\n" 98 "a=ice-options:trickle\r\n"
99 "m=audio 9 UDP/TLS/RTP/SAVPF 96\r\n"
100 "c=IN IP4 0.0.0.0\r\n" 100 "c=IN IP4 0.0.0.0\r\n"
101 "a=mid:audio\r\n" 101 "a=mid:audio\r\n"
102 "a=sendrecv\r\n"
102 "a=rtpmap:96 opus/48000\r\n" 103 "a=rtpmap:96 opus/48000\r\n"
103 "a=fmtp:96 sprop-stereo=1\r\n" 104 "a=fmtp:96 sprop-stereo=1\r\n"
104 "a=ice-ufrag:ufrag\r\n" 105 "a=ice-ufrag:ufrag\r\n"
105 "a=ice-pwd:pwd\r\n" 106 "a=ice-pwd:pwd\r\n"
106 "a=candidate:1 1 UDP 1 10.0.0.1 12345 typ host\r\n" 107 "a=candidate:1 1 UDP 1 10.0.0.1 12345 typ host\r\n"