]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1883] added one suggested test
authorJINMEI Tatuya <jinmei@isc.org>
Thu, 5 Jul 2012 21:27:00 +0000 (14:27 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Thu, 5 Jul 2012 21:27:00 +0000 (14:27 -0700)
src/lib/dns/python/tests/rrtype_python_test.py

index fde9c7417adbdcb5589efc60eb5fb025c969415d..4548b505d2b56a6578350d8e83cd3c27b33b3b2c 100644 (file)
@@ -121,6 +121,7 @@ class TestModuleSpec(unittest.TestCase):
         # value, we can predict the comparison result.
         self.assertEqual(hash(RRType.AAAA()), hash(RRType("AAAA")))
         self.assertEqual(hash(RRType("aaaa")), hash(RRType("AAAA")))
+        self.assertEqual(hash(RRType(28)), hash(RRType("AAAA")))
         self.assertNotEqual(hash(RRType.A()), hash(RRType.NS()))
         self.assertNotEqual(hash(RRType.AAAA()), hash(RRType("Type65535")))