- Timestamp:
- 13 Sep 2011, 10:37:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/utils/tests/test_logger.py
r6581 r6748 32 32 def setUp(self): 33 33 super(LoggersTests, self).setUp() 34 self.old_loggers = get_all_loggers()35 34 # Setup a sample site for each test 36 35 app = University() … … 47 46 def tearDown(self): 48 47 super(LoggersTests, self).tearDown() 49 remove_new_loggers(self.old_loggers)50 48 shutil.rmtree(self.workdir) 51 49 shutil.rmtree(self.dc_root) … … 218 216 self.component = self.app['mycomponent'] 219 217 setSite(self.app) 220 self.old_loggers = get_all_loggers()221 218 return 222 219 223 220 def tearDown(self): 224 221 super(LoggersFunctionalTests, self).tearDown() 225 remove_new_loggers(self.old_loggers)226 222 shutil.rmtree(self.workdir) 227 223 shutil.rmtree(self.dc_root) … … 394 390 # When a datacenter storage (its path) changes, we have to 395 391 # move the logfiles as well. 396 #return397 392 filename1 = self.component.logger.handlers[0].baseFilename 398 393 self.dc_root_new = tempfile.mkdtemp()
Note: See TracChangeset for help on using the changeset viewer.