#NEWLINE# def testInvalidChecker( self ) : #NEWLINE# #INDENT# mycmd = self . MyCmd ( task_loader = ModuleTaskLoader ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) ) #NEWLINE# ( params , args ) = CmdParse ( mycmd . get_options ( ) ) . parse ( [ ] ) #NEWLINE# params [ 'check_file_uptodate' ] = 'i dont exist' #NEWLINE# pytest . raises ( InvalidCommand , mycmd . execute , params , params )