#NEWLINE# @ test . raises ( exc . BossArgumentError ) #NEWLINE# def test_rm_source_no_label( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# app = get_test_app ( argv = [ 'rm-source' ] ) #NEWLINE# app . setup ( ) #NEWLINE# app . run ( ) #NEWLINE# app . close ( ) #NEWLINE# #UNINDENT# except exc . BossArgumentError as e : #NEWLINE# #INDENT# self . eq ( e . msg , 'Repository name required.' ) #NEWLINE# raise #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# app . close ( )