Exemplo n.º 1
0
 def test_stop_log_2(self):
     "Check if we can call start_log without exception"
     logger.stop_log()
     logger.start_log()
     logger.start_log()
     logger.stop_log()
     #Just make sure the nullhandler don't crash
     logger.logger.warning("Foo")
     self.assertTrue(True)
Exemplo n.º 2
0
 def test_stop_log_2(self):
     "Check if we can call start_log without exception"
     logger.stop_log()
     logger.start_log()
     logger.start_log()
     logger.stop_log()
     #Just make sure the nullhandler don't crash
     logger.logger.warning("Foo")
     self.assertTrue(True)
Exemplo n.º 3
0
 def test_startlog(self):
     "Check if we can call start_log without exception"
     logger.start_log()
     logger.start_log()
     self.assertTrue(True)
Exemplo n.º 4
0
 def test_startlog(self):
     "Check if we can call start_log without exception"
     logger.start_log()
     logger.start_log()
     self.assertTrue(True)