MCPcopy Create free account
hub / github.com/rthalley/dnspython / test_svcb_ech

Method test_svcb_ech

tests/test_svcb.py:185–202  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

183 self.check_invalid_inputs(invalid_inputs)
184
185 def test_svcb_ech(self):
186 valid_inputs = (
187 '1 . ech="Zm9vMA=="',
188 "1 . ech=Zm9vMA==",
189 "1 . key5=foo0",
190 "1 . key5=\\102\\111\\111\\048",
191 )
192 self.check_valid_inputs(valid_inputs)
193
194 invalid_inputs = (
195 "1 . ech",
196 "1 . ech=",
197 "1 . ech=Zm9vMA",
198 "1 . ech=\\090m9vMA==",
199 "1 . key5",
200 "1 . key5=",
201 )
202 self.check_invalid_inputs(invalid_inputs)
203
204 def test_svcb_ipv6hint(self):
205 valid_inputs = (

Callers

nothing calls this directly

Calls 2

check_valid_inputsMethod · 0.95
check_invalid_inputsMethod · 0.95

Tested by

no test coverage detected