]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2883] remove TestDummyNotifyOut
authorNaoki Kambe <kambe@jprs.co.jp>
Wed, 7 Aug 2013 08:19:50 +0000 (17:19 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Thu, 8 Aug 2013 08:39:55 +0000 (17:39 +0900)
TestDummyXfroutServer class contains similar tests

src/lib/python/isc/statistics/tests/dns_test.py

index 83e3e9510f039423f3e4acdeeb9a2a1ecb3c9a0f..7f9ed11c75cf24d996b0c73d1aedde7f4d6c3046 100644 (file)
@@ -209,25 +209,6 @@ class DummyXfroutServer(BaseDummyModule):
         self.unix_socket_server.inc_counters()
         self.notifier.inc_counters()
 
-class TestDummyNotifyOut(unittest.TestCase):
-    """Tests counters are incremented in which the spec file is not
-    loaded"""
-    def setUp(self):
-        imp.reload(dns)
-        self.notifier = DummyNotifyOut()
-        self.notifier.inc_counters()
-
-    def tearDown(self):
-        self.notifier.clear_counters()
-
-    def test_counters(self):
-        self.assertEqual(
-            {'zones': {TEST_ZONE_CLASS_STR: { '_SERVER_':
-                           {'notifyoutv4': 1, 'notifyoutv6': 1},
-                                              TEST_ZONE_NAME_STR:
-                           {'notifyoutv4': 1, 'notifyoutv6': 1}}}},
-            self.notifier.get_counters())
-
 class TestDummyXfroutServer(unittest.TestCase):
     """Tests counters are incremented or decremented in which the same
     spec file is multiply loaded in each child class"""