Bug 17268 - Several install logging tests fail
authorGinnie Wray<virginia.wray@oracle.com>
Wed, 20 Oct 2010 18:09:08 -0600
changeset 904 239e65432ca8
parent 903 a6c124c56f32
child 905 be5a12cf98c6
Bug 17268 - Several install logging tests fail
usr/src/lib/install_logging_pymod/test/test_logger.py
--- a/usr/src/lib/install_logging_pymod/test/test_logger.py	Wed Oct 20 14:41:39 2010 -0700
+++ b/usr/src/lib/install_logging_pymod/test/test_logger.py	Wed Oct 20 18:09:08 2010 -0600
@@ -146,6 +146,7 @@
     def tearDown(self):
         self.eng = None
         TestInstallEngine._instance = None
+        InstallLogger.DEFAULTFILEHANDLER = None
         logging.Logger.manager.loggerDict = {}
         logging.setLoggerClass(logging.Logger)
         self.test_logger.name = None
@@ -361,6 +362,7 @@
     def tearDown(self):
         self.eng = None
         TestInstallEngine._instance = None
+        InstallLogger.DEFAULTFILEHANDLER = None
         logging.Logger.manager.loggerDict = {}
         logging.setLoggerClass(logging.Logger)
         self.test_logger.name = None