#NEWLINE# def test_load_plugins_with_template_is_true( self ) : #NEWLINE# #INDENT# pluginmgr = server_plugins . PluginManager ( ** copy . deepcopy ( self . config ) ) #NEWLINE# for plugin in self . conf_plugins_to_load : #NEWLINE# #INDENT# if ( 'Template' in self . conf_plugins_to_load [ plugin ] ) : #NEWLINE# #INDENT# assert ( plugin in pluginmgr . get_plugins ( ) ) #NEWLINE# assert ( 'Template' in pluginmgr . get_plugin ( plugin ) . params ) #NEWLINE# templates = pluginmgr . get_plugin ( plugin ) . params [ 'Template' ] #NEWLINE# assert ( 'SystemPlugin' in templates )