File: test_init.ambr

package info (click to toggle)
python-webrtc-models 0.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: python: 173; sh: 5; makefile: 3
file content (97 lines) | stat: -rw-r--r-- 2,776 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# serializer version: 1
# name: test_decoding_and_encoding[RTCConfiguration-RTCConfiguration_empty.json][dataclass]
  dict({
    'ice_servers': list([
    ]),
  })
# ---
# name: test_decoding_and_encoding[RTCConfiguration-RTCConfiguration_multiple_iceServers.json][dataclass]
  dict({
    'ice_servers': list([
      dict({
        'credential': None,
        'urls': 'stun:stun.home-assisant.io:80',
        'username': None,
      }),
      dict({
        'credential': 'credential',
        'urls': list([
          'stun:stun.home-assisant.io:80',
          'stun:stun.l.google.com:19302',
        ]),
        'username': 'username',
      }),
    ]),
  })
# ---
# name: test_decoding_and_encoding[RTCConfiguration-RTCConfiguration_one_iceServer.json][dataclass]
  dict({
    'ice_servers': list([
      dict({
        'credential': None,
        'urls': 'stun:stun.home-assisant.io:80',
        'username': None,
      }),
    ]),
  })
# ---
# name: test_decoding_and_encoding[RTCIceCandidateInit-RTCIceCandidateInit_candidate.json][dataclass]
  dict({
    'candidate': '3932168448 1 udp 1694498815 1.2.3.4 10676 typ srflx raddr 0.0.0.0 rport 37566',
    'sdp_m_line_index': 0,
    'sdp_mid': None,
    'user_fragment': None,
  })
# ---
# name: test_decoding_and_encoding[RTCIceCandidateInit-RTCIceCandidateInit_end.json][dataclass]
  dict({
    'candidate': '',
    'sdp_m_line_index': None,
    'sdp_mid': None,
    'user_fragment': None,
  })
# ---
# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_only_urls_list.json][dataclass]
  dict({
    'credential': None,
    'urls': list([
      'stun:stun.home-assisant.io:80',
      'stun:stun.l.google.com:19302',
    ]),
    'username': None,
  })
# ---
# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_only_urls_string.json][dataclass]
  dict({
    'credential': None,
    'urls': 'stun:stun.home-assisant.io:80',
    'username': None,
  })
# ---
# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_urls_list.json][dataclass]
  dict({
    'credential': 'credential',
    'urls': list([
      'stun:stun.home-assisant.io:80',
      'stun:stun.l.google.com:19302',
    ]),
    'username': 'username',
  })
# ---
# name: test_decoding_and_encoding[RTCIceServer-RTCIceServer_urls_string.json][dataclass]
  dict({
    'credential': 'credential',
    'urls': 'stun:stun.home-assisant.io:80',
    'username': 'username',
  })
# ---
# name: test_decoding_and_encoding_deprecated[RTCIceCandidate-RTCIceCandidate_candidate.json][dataclass]
  dict({
    'candidate': '3932168448 1 udp 1694498815 1.2.3.4 10676 typ srflx raddr 0.0.0.0 rport 37566',
  })
# ---
# name: test_decoding_and_encoding_deprecated[RTCIceCandidate-RTCIceCandidate_end.json][dataclass]
  dict({
    'candidate': '',
  })
# ---