(self)
| 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) |