From: Christian Herdtweck Date: Fri, 7 Oct 2016 14:21:00 +0000 (+0200) Subject: Update unittest template and skip one test X-Git-Tag: v1.2~19 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=a99b964f34a7ce3ee02caae2a0b7258b55cf7a32;p=pyi2ncommon Update unittest template and skip one test --- diff --git a/test/template.py b/test/template.py index 408557f..ff5effb 100644 --- a/test/template.py +++ b/test/template.py @@ -16,7 +16,7 @@ # This exception does not invalidate any other reasons why a work based # on this file might be covered by the GNU General Public License. -""" module_name_unittest.py: unit tests for module_name +""" test_module_name.py: unit tests for module_name Tests classes and functions in module_name @@ -45,6 +45,7 @@ def tearDownModule(): class ModuleNameTester(unittest.TestCase): + """ only test case in this module, see module doc for more help """ @classmethod def setUpClass(cls): diff --git a/test/test_log_read.py b/test/test_log_read.py index 08f8d3f..642eba7 100644 --- a/test/test_log_read.py +++ b/test/test_log_read.py @@ -101,7 +101,6 @@ class LogFileWriter(Thread): time.sleep(self.pause_time) -@unittest.skip("Need to debug") class LogReadTester(unittest.TestCase): """ class with all the tests """