From: Naoki Kambe Date: Thu, 6 Dec 2012 03:37:01 +0000 (+0900) Subject: [2225_statistics] add a new test case TestCounter0() in case of no TEST_SPECFILE_LOCATION X-Git-Tag: bind10-1.1.0beta1-release~72^2~40^2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=966b5ee5cf9512da8f4a4ea31f7f67ca3836df26;p=thirdparty%2Fkea.git [2225_statistics] add a new test case TestCounter0() in case of no TEST_SPECFILE_LOCATION --- diff --git a/src/lib/python/isc/statistics/tests/counter_test.py b/src/lib/python/isc/statistics/tests/counter_test.py index 2b4b9048eb..f3608e8665 100644 --- a/src/lib/python/isc/statistics/tests/counter_test.py +++ b/src/lib/python/isc/statistics/tests/counter_test.py @@ -264,6 +264,13 @@ class BaseTestCounter(): self.assertRaises(isc.cc.data.DataNotFoundError, self.counter.get, '__undefined__') +class TestCounter0(unittest.TestCase, BaseTestCounter): + TEST_SPECFILE_LOCATION = None + def setUp(self): + BaseTestCounter.setUp(self) + def tearDown(self): + BaseTestCounter.tearDown(self) + class TestCounter1(unittest.TestCase, BaseTestCounter): TEST_SPECFILE_LOCATION = TESTDATA_SRCDIR + os.sep + 'test_spec1.spec' def setUp(self):