]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2225_xfrout] s/clear_counters/clear_all/
authorNaoki Kambe <kambe@jprs.co.jp>
Fri, 18 Jan 2013 06:30:35 +0000 (15:30 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Mon, 21 Jan 2013 05:27:02 +0000 (14:27 +0900)
Due to the the method name changed

src/bin/xfrout/tests/xfrout_test.py.in
src/lib/python/isc/notify/tests/notify_out_test.py

index 730bfe5408ba5e642b41350522384e8e3902495b..1f264e36486783468e46e1baf31591cc992050c2 100644 (file)
@@ -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
index d2584a4608e32755e2b4203acebbe3392150f012..08663d405bb43f59f8e792f459636d09f339ec7a 100644 (file)
@@ -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