예제 #1
0
 def tearDown(self):
     logger.setLevel(self.level)
     logger.removeHandler(self.handler)
     self.handler.reset()
예제 #2
0
 def tearDown(self):
     logger.setLevel(self.level)
     logger.removeHandler(self.handler)
     self.handler.reset()
예제 #3
0
 def setUp(self):
     self.level = logger.getEffectiveLevel()
     logger.setLevel(logging.DEBUG)
     logger.addHandler(self.handler)
예제 #4
0
 def setUp(self):
     self.level = logger.getEffectiveLevel()
     logger.setLevel(logging.DEBUG)
     logger.addHandler(self.handler)