]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1611] added a missing case to findresultflags test.
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 25 Jan 2012 20:10:56 +0000 (12:10 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 25 Jan 2012 20:10:56 +0000 (12:10 -0800)
src/lib/python/isc/datasrc/tests/datasrc_test.py

index 7a1bf245a72c03b9d94de2fe611b92ead9ace4e4..5ccd18e40e7fad2e8b3084137230dcaded421f2b 100644 (file)
@@ -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):
         """