Browse Source

[2225_statistics] remove the unnecessary parameters

Naoki Kambe 12 years ago
parent
commit
02e63b13f8
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/lib/python/isc/statistics/tests/counter_test.py

+ 0 - 6
src/lib/python/isc/statistics/tests/counter_test.py

@@ -125,14 +125,8 @@ class TestBasicMethods(unittest.TestCase):
         """ use Thread"""
         """ use Thread"""
         number = 3    # number of the threads
         number = 3    # number of the threads
         cycle = 10000 # number of counting per thread
         cycle = 10000 # number of counting per thread
-        statistics_data = {}
         counter_name = "counter"
         counter_name = "counter"
         timer_name = "seconds"
         timer_name = "seconds"
-        statistics_spec = \
-            isc.config.module_spec_from_file(self.TEST_SPECFILE_LOCATION)\
-            .get_statistics_spec()
-        self.counter._statistics_data = statistics_data
-        self.counter._statistics_spec = statistics_spec
         start_time = counter._start_timer()
         start_time = counter._start_timer()
         start_functor(number, cycle, self.counter._incrementer,
         start_functor(number, cycle, self.counter._incrementer,
                       counter_name)
                       counter_name)