#NEWLINE# def test_add_update( self ) : #NEWLINE# #INDENT# storage = self . get_storage ( ) #NEWLINE# response = self . get_response ( ) #NEWLINE# storage . add ( constants . INFO , 'Test message 1' ) #NEWLINE# storage . add ( constants . INFO , 'Test message 1' , extra_tags = 'tag' ) #NEWLINE# storage . update ( response ) #NEWLINE# storing = self . stored_messages_count ( storage , response ) #NEWLINE# self . assertEqual ( storing , 2 )