Browse Source

[2225_xfrout] remove an unnecessary dummy counter class

Naoki Kambe 12 years ago
parent
commit
c98f158118
1 changed files with 0 additions and 17 deletions
  1. 0 17
      src/lib/python/isc/notify/tests/notify_out_test.py

+ 0 - 17
src/lib/python/isc/notify/tests/notify_out_test.py

@@ -92,23 +92,6 @@ class TestZoneNotifyInfo(unittest.TestCase):
         temp_info.prepare_notify_out()
         self.assertIsNone(temp_info.get_current_notify_target())
 
-class DummyNotifyOutCounter:
-    _notifiesv4 = []
-    _notifiesv6 = []
-    def inc_notifyoutv4(self, arg):
-        self._notifiesv4.append(arg)
-    def inc_notifyoutv6(self, arg):
-        self._notifiesv6.append(arg)
-    def get_notifyoutv4(self, arg):
-        return self._notifiesv4.count(arg)
-    def get_notifyoutv6(self, arg):
-        return self._notifiesv6.count(arg)
-    def clear_counters(self):
-        self._notifiesv4 = []
-        self._notifiesv6 = []
-
-notify_out.Counter = DummyNotifyOutCounter()
-Counter = notify_out.Counter
 
 class TestNotifyOut(unittest.TestCase):
     def setUp(self):