From: Naoki Kambe Date: Thu, 6 Dec 2012 05:40:52 +0000 (+0900) Subject: [2225_xfrout] fix the wrong counter numbers X-Git-Tag: bind10-1.1.0beta1-release~72^2~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7fbc8323cd986bda0e74941d76af727fb5b1df00;p=thirdparty%2Fkea.git [2225_xfrout] fix the wrong counter numbers It is realized that the removed dummy counter class didn't increase the counters properly. --- diff --git a/src/lib/python/isc/notify/tests/notify_out_test.py b/src/lib/python/isc/notify/tests/notify_out_test.py index b88cc9d53f..149096ce20 100644 --- a/src/lib/python/isc/notify/tests/notify_out_test.py +++ b/src/lib/python/isc/notify/tests/notify_out_test.py @@ -279,7 +279,7 @@ class TestNotifyOut(unittest.TestCase): self.assertTrue(ret) self.assertEqual(socket.AF_INET, example_com_info.sock_family) self.assertEqual(self._notify._counter.get( - 'zones', 'example.net.', 'notifyoutv4'), 0) + 'zones', 'example.net.', 'notifyoutv4'), 1) self.assertEqual(self._notify._counter.get( 'zones', 'example.net.', 'notifyoutv6'), 0) @@ -300,7 +300,7 @@ class TestNotifyOut(unittest.TestCase): self.assertEqual(self._notify._counter.get( 'zones', 'example.net.', 'notifyoutv4'), 0) self.assertEqual(self._notify._counter.get( - 'zones', 'example.net.', 'notifyoutv6'), 0) + 'zones', 'example.net.', 'notifyoutv6'), 1) def test_send_notify_message_with_bogus_address(self): example_com_info = self._notify._notify_infos[('example.net.', 'IN')]