Browse Source

[1611] added a missing case to findresultflags test.

JINMEI Tatuya 13 years ago
parent
commit
ad80da2f84
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/lib/python/isc/datasrc/tests/datasrc_test.py

+ 3 - 0
src/lib/python/isc/datasrc/tests/datasrc_test.py

@@ -321,10 +321,13 @@ class DataSrcClient(unittest.TestCase):
         self.assertNotEqual(ZoneFinder.CNAME, ZoneFinder.DNAME)
 
     def test_findresultflags(self):
+        '''A simple test just confirming the flags are all different.'''
         self.assertNotEqual(ZoneFinder.RESULT_WILDCARD,
                             ZoneFinder.RESULT_NSEC_SIGNED)
         self.assertNotEqual(ZoneFinder.RESULT_NSEC_SIGNED,
                             ZoneFinder.RESULT_NSEC3_SIGNED)
+        self.assertNotEqual(ZoneFinder.RESULT_NSEC3_SIGNED,
+                            ZoneFinder.RESULT_WILDCARD)
 
     def test_findall(self):
         """