Browse Source

[1883] added one suggested test

JINMEI Tatuya 13 years ago
parent
commit
d4ba721af6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lib/dns/python/tests/rrtype_python_test.py

+ 1 - 0
src/lib/dns/python/tests/rrtype_python_test.py

@@ -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")))