|
5 | 5 | ]), |
6 | 6 | }) |
7 | 7 | # --- |
8 | | -# name: test_decoding_and_encoding[RTCConfiguration-RTCConfiguration_empty.json][dict] |
9 | | - dict({ |
10 | | - }) |
11 | | -# --- |
12 | 8 | # name: test_decoding_and_encoding[RTCConfiguration-RTCConfiguration_multiple_iceServers.json][dataclass] |
13 | 9 | dict({ |
14 | 10 | 'ice_servers': list([ |
|
28 | 24 | ]), |
29 | 25 | }) |
30 | 26 | # --- |
31 | | -# name: test_decoding_and_encoding[RTCConfiguration-RTCConfiguration_multiple_iceServers.json][dict] |
32 | | - dict({ |
33 | | - 'iceServers': list([ |
34 | | - dict({ |
35 | | - 'urls': 'stun:stun.home-assisant.io:80', |
36 | | - }), |
37 | | - dict({ |
38 | | - 'credential': 'credential', |
39 | | - 'urls': list([ |
40 | | - 'stun:stun.home-assisant.io:80', |
41 | | - 'stun:stun.l.google.com:19302', |
42 | | - ]), |
43 | | - 'username': 'username', |
44 | | - }), |
45 | | - ]), |
46 | | - }) |
47 | | -# --- |
48 | 27 | # name: test_decoding_and_encoding[RTCConfiguration-RTCConfiguration_one_iceServer.json][dataclass] |
49 | 28 | dict({ |
50 | 29 | 'ice_servers': list([ |
|
56 | 35 | ]), |
57 | 36 | }) |
58 | 37 | # --- |
59 | | -# name: test_decoding_and_encoding[RTCConfiguration-RTCConfiguration_one_iceServer.json][dict] |
| 38 | +# name: test_decoding_and_encoding[RTCIceCandidate-RTCIceCandidate_candidate.json][dataclass] |
60 | 39 | dict({ |
61 | | - 'iceServers': list([ |
62 | | - dict({ |
63 | | - 'urls': 'stun:stun.home-assisant.io:80', |
64 | | - }), |
65 | | - ]), |
| 40 | + 'candidate': '3932168448 1 udp 1694498815 1.2.3.4 10676 typ srflx raddr 0.0.0.0 rport 37566', |
66 | 41 | }) |
67 | 42 | # --- |
68 | | -# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_only_urls_list.json][dataclass] |
| 43 | +# name: test_decoding_and_encoding[RTCIceCandidate-RTCIceCandidate_end.json][dataclass] |
69 | 44 | dict({ |
70 | | - 'credential': None, |
71 | | - 'urls': list([ |
72 | | - 'stun:stun.home-assisant.io:80', |
73 | | - 'stun:stun.l.google.com:19302', |
74 | | - ]), |
75 | | - 'username': None, |
| 45 | + 'candidate': '', |
76 | 46 | }) |
77 | 47 | # --- |
78 | | -# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_only_urls_list.json][dict] |
| 48 | +# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_only_urls_list.json][dataclass] |
79 | 49 | dict({ |
| 50 | + 'credential': None, |
80 | 51 | 'urls': list([ |
81 | 52 | 'stun:stun.home-assisant.io:80', |
82 | 53 | 'stun:stun.l.google.com:19302', |
83 | 54 | ]), |
| 55 | + 'username': None, |
84 | 56 | }) |
85 | 57 | # --- |
86 | 58 | # name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_only_urls_string.json][dataclass] |
|
90 | 62 | 'username': None, |
91 | 63 | }) |
92 | 64 | # --- |
93 | | -# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_only_urls_string.json][dict] |
94 | | - dict({ |
95 | | - 'urls': 'stun:stun.home-assisant.io:80', |
96 | | - }) |
97 | | -# --- |
98 | 65 | # name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_urls_list.json][dataclass] |
99 | 66 | dict({ |
100 | 67 | 'credential': 'credential', |
|
105 | 72 | 'username': 'username', |
106 | 73 | }) |
107 | 74 | # --- |
108 | | -# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_urls_list.json][dict] |
109 | | - dict({ |
110 | | - 'credential': 'credential', |
111 | | - 'urls': list([ |
112 | | - 'stun:stun.home-assisant.io:80', |
113 | | - 'stun:stun.l.google.com:19302', |
114 | | - ]), |
115 | | - 'username': 'username', |
116 | | - }) |
117 | | -# --- |
118 | 75 | # name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_urls_string.json][dataclass] |
119 | 76 | dict({ |
120 | 77 | 'credential': 'credential', |
121 | 78 | 'urls': 'stun:stun.home-assisant.io:80', |
122 | 79 | 'username': 'username', |
123 | 80 | }) |
124 | 81 | # --- |
125 | | -# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_urls_string.json][dict] |
126 | | - dict({ |
127 | | - 'credential': 'credential', |
128 | | - 'urls': 'stun:stun.home-assisant.io:80', |
129 | | - 'username': 'username', |
130 | | - }) |
131 | | -# --- |
0 commit comments