Browse Source

[1790] Also handle the case where published is not OK

Mukund Sivaraman 13 years ago
parent
commit
6d2d11d4bd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/bin/xfrin/tests/xfrin_test.py

+ 3 - 0
src/bin/xfrin/tests/xfrin_test.py

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