From: Naoki Kambe Date: Mon, 26 Nov 2012 13:07:06 +0000 (+0900) Subject: [2225_statistics] reload module in setUp() X-Git-Tag: bind10-1.1.0beta1-release~72^2~40^2~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78a4e4cd8735ad72dcaafe9701482c34d72fef3e;p=thirdparty%2Fkea.git [2225_statistics] reload module in setUp() --- diff --git a/src/lib/python/isc/statistics/tests/counter_test.py b/src/lib/python/isc/statistics/tests/counter_test.py index 1143a365f2..48eed8da3a 100644 --- a/src/lib/python/isc/statistics/tests/counter_test.py +++ b/src/lib/python/isc/statistics/tests/counter_test.py @@ -146,8 +146,8 @@ class TestBasicMethods(unittest.TestCase): timer_name), 0) class BaseTestCounter(): - imp.reload(counter) def setUp(self): + imp.reload(counter) self._module_spec = isc.config.module_spec_from_file( self.TEST_SPECFILE_LOCATION) self.counter = counter.Counter.init(self.TEST_SPECFILE_LOCATION)