#NEWLINE# def _mock_extension_loading( self ) : #NEWLINE# #INDENT# ext_pkg = 'neutronclient.common.extension' #NEWLINE# contrib = self . _create_patch ( ( contrib + '._discover_via_entry_points' ) ) #NEWLINE# contrib . return_value = [ ( 'routertype' , routertype ) ] #NEWLINE# return contrib