#NEWLINE# def assertOutput( self , stream , msg ) : #NEWLINE# #INDENT# 'Utility assertion: assert that the given message exists in the output' #NEWLINE# self . assertTrue ( ( msg in stream ) , ( "'%s' does not match actual output text '%s'" % ( self , stream ) ) )