#NEWLINE# def test_message_event( self ) : #NEWLINE# #INDENT# self . client . captureMessage ( message = 'test' ) #NEWLINE# self . assertEquals ( len ( self . client . events ) , 1 ) #NEWLINE# event = self . client . events . pop ( 0 ) #NEWLINE# self . assertEquals ( event [ 'message' ] , 'test' ) #NEWLINE# assert ( 'stacktrace' not in self ) #NEWLINE# self . assertTrue ( ( 'timestamp' in event ) )