#NEWLINE# def test_update_plugins( self ) : #NEWLINE# #INDENT# plugin = { #NEWLINE# #INDENT# 'hook' : 'foo' , #NEWLINE# 'funcs' : 'bar' , #NEWLINE# #UNINDENT# } #NEWLINE# self . plugins . update_plugins ( plugin , 'PLUGINS' ) #NEWLINE# self . assertEqual ( self . config [ 'PLUGINS' ] [ 0 ] , plugin )