#NEWLINE# def testRegisterLog_manyLogs_outputOn( self ) : #NEWLINE# #INDENT# output . on ( ) #NEWLINE# log_id1 = output . new_log ( ) #NEWLINE# log_id2 = output . new_log ( ) #NEWLINE# print ( self . MESSAGE1 ) #NEWLINE# log1 = output . get_log ( log_id1 ) #NEWLINE# log2 = output . get_log ( log_id2 ) #NEWLINE# output . remove_log ( log_id1 ) #NEWLINE# self . assertEqual ( [ self . MESSAGE1 , '\n' ] , log1 ) #NEWLINE# self . assertEqual ( [ self . MESSAGE1 , '\n' ] , log2 ) #NEWLINE# print ( self . MESSAGE2 ) #NEWLINE# log2 = output . get_log ( log_id2 ) #NEWLINE# output . remove_log ( log_id2 ) #NEWLINE# self . assertEqual ( [ self . MESSAGE1 , '\n' ] , log1 ) #NEWLINE# self . assertEqual ( [ self . MESSAGE1 , '\n' , self . MESSAGE2 , '\n' ] , log2 )