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

Method test_making_UpdateSection

tests/test_update.py:266–271  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

264 self.assertTrue(update.is_response(r))
265
266 def test_making_UpdateSection(self):
267 self.assertEqual(
268 dns.update.UpdateSection.make(0), dns.update.UpdateSection.make("ZONE")
269 )
270 with self.assertRaises(ValueError):
271 dns.update.UpdateSection.make(99)
272
273 def test_setters(self):
274 u = dns.update.UpdateMessage(id=1)

Callers

nothing calls this directly

Calls 1

makeMethod · 0.45

Tested by

no test coverage detected