#NEWLINE# @ patch ( 'pybuilder.pluginloader._load_plugin' ) #NEWLINE# @ patch ( 'pybuilder.pluginloader._install_external_plugin' ) #NEWLINE# def test_should_fail_with_vcs_and_no_module_name( self , install , load ) : #NEWLINE# #INDENT# install . side_effect = MissingPluginException ( 'VCS BOOM' ) #NEWLINE# downloader = DownloadingPluginLoader ( Mock ( ) ) #NEWLINE# self . assertRaises ( UnspecifiedPluginNameException , load . load_plugin , Mock ( ) , 'vcs:external_plugin URL' )