#NEWLINE# def _test_main_call( self , module , cmd_name ) : #NEWLINE# #INDENT# with patch . object ( module , 'main' ) as m_main : #NEWLINE# #INDENT# cmd . main ( args = [ 'mrjob' , cmd_name ] ) #NEWLINE# m_main . assert_called_once_with ( [ ] )