]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1790] Also handle the case where published is not OK
authorMukund Sivaraman <muks@isc.org>
Tue, 8 May 2012 07:04:12 +0000 (12:34 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 14 May 2012 17:10:43 +0000 (22:40 +0530)
src/bin/xfrin/tests/xfrin_test.py

index c91c54127873435ecba475d55c95a3cb522f10b1..45019d32ad1613bcd74023be3202c3d002c1ca01 100644 (file)
@@ -2871,6 +2871,9 @@ class TestXfrinProcess(unittest.TestCase):
         if published == XFRIN_OK:
             self.assertEqual(True, self._module_cc.get_called)
             self.assertEqual(True, self._module_cc.get_called_correctly)
+        else:
+            self.assertEqual(False, self._module_cc.get_called)
+            self.assertEqual(False, self._module_cc.get_called_correctly)
 
     def test_ixfr_ok(self):
         """