Beispiel #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)
Beispiel #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)
Beispiel #3
0
 def test_startlog(self):
     "Check if we can call start_log without exception"
     logger.start_log()
     logger.start_log()
     self.assertTrue(True)
Beispiel #4
0
 def test_startlog(self):
     "Check if we can call start_log without exception"
     logger.start_log()
     logger.start_log()
     self.assertTrue(True)