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