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

Method check_valid_inputs

tests/test_svcb.py:14–19  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

12
13class SVCBTestCase(unittest.TestCase):
14 def check_valid_inputs(self, inputs):
15 expected = inputs[0]
16 for text in inputs:
17 rr = dns.rdata.from_text("IN", "SVCB", text)
18 new_text = rr.to_text()
19 self.assertEqual(expected, new_text)
20
21 def check_invalid_inputs(self, inputs):
22 for text in inputs:

Callers 9

test_svcb_mandatoryMethod · 0.95
test_svcb_alpnMethod · 0.95
test_svcb_portMethod · 0.95
test_svcb_ipv4hintMethod · 0.95
test_svcb_echMethod · 0.95
test_svcb_ipv6hintMethod · 0.95
test_svcb_unknownMethod · 0.95
test_svcb_wireMethod · 0.95

Calls 2

from_textMethod · 0.45
to_textMethod · 0.45

Tested by

no test coverage detected