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

Method test_unknown_rcode

tests/test_flags.py:76–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 self.assertEqual(dns.rcode.to_text(rcode, True), "BADSIG")
75
76 def test_unknown_rcode(self):
77 with self.assertRaises(dns.rcode.UnknownRcode):
78 dns.rcode.Rcode.make("BOGUS")
79
80
81if __name__ == "__main__":

Callers

nothing calls this directly

Calls 1

makeMethod · 0.45

Tested by

no test coverage detected