#NEWLINE# def test_update( self ) : #NEWLINE# #INDENT# kwargs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# kwargs [ 'search' ] = 'index=_audit *' #NEWLINE# kwargs [ 'description' ] = 'An audit event' #NEWLINE# kwargs [ 'priority' ] = '3' #NEWLINE# self . event_type . update ( ** kwargs ) #NEWLINE# self . event_type . refresh ( ) #NEWLINE# self . assertEqual ( self . event_type [ 'search' ] , kwargs [ 'search' ] ) #NEWLINE# self . assertEqual ( self . event_type [ 'description' ] , self [ 'description' ] ) #NEWLINE# self . assertEqual ( self . event_type [ 'priority' ] , kwargs [ 'priority' ] )