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