From a99b964f34a7ce3ee02caae2a0b7258b55cf7a32 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Fri, 7 Oct 2016 16:21:00 +0200 Subject: [PATCH] Update unittest template and skip one test --- test/template.py | 3 ++- test/test_log_read.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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 """ -- 1.7.1