From: Naoki Kambe Date: Fri, 18 Jan 2013 06:30:35 +0000 (+0900) Subject: [2225_xfrout] s/clear_counters/clear_all/ X-Git-Tag: bind10-1.1.0beta1-release~72^2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7390503b44baf97dc67ddaf800cd82b28f097d65;p=thirdparty%2Fkea.git [2225_xfrout] s/clear_counters/clear_all/ Due to the the method name changed --- diff --git a/src/bin/xfrout/tests/xfrout_test.py.in b/src/bin/xfrout/tests/xfrout_test.py.in index 730bfe5408..1f264e3648 100644 --- a/src/bin/xfrout/tests/xfrout_test.py.in +++ b/src/bin/xfrout/tests/xfrout_test.py.in @@ -291,7 +291,7 @@ class TestXfroutSessionBase(unittest.TestCase): # the XfroutSession object. We check the condition here. self.assertEqual(0, self.xfrsess._server.transfer_counter) # clear statistics counters - self.xfrsess._counters.clear_counters() + self.xfrsess._counters.clear_all() class TestXfroutSession(TestXfroutSessionBase): def test_quota_error(self): @@ -1578,7 +1578,7 @@ class TestUnixSockServerForCounter(unittest.TestCase): super, self.orig_process_request, self.orig_select ) - self.unix._counters.clear_counters() + self.unix._counters.clear_all() def test_open(self): # open 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 d2584a4608..08663d405b 100644 --- a/src/lib/python/isc/notify/tests/notify_out_test.py +++ b/src/lib/python/isc/notify/tests/notify_out_test.py @@ -112,7 +112,7 @@ class TestNotifyOut(unittest.TestCase): com_ch_info.notify_slaves.append(('1.1.1.1', 5353)) def tearDown(self): - self._notify._counters.clear_counters() + self._notify._counters.clear_all() def test_send_notify(self): notify_out._MAX_NOTIFY_NUM = 2