#NEWLINE# @ mock . patch ( 'botocore.session.Session.create_client' ) #NEWLINE# def test_call_parameters_only_endpoint( self , call_patch ) : #NEWLINE# #INDENT# endpoint_arg = 'https://elasticmapreduce.us-unknown-1.amazonaws.com' #NEWLINE# cmdline = ( ( self . prefix + ' --endpoint ' ) + endpoint_arg ) #NEWLINE# self . run_cmd ( cmdline , expected_rc = 0 ) #NEWLINE# self . assertEquals ( call_patch . call_args [ 1 ] [ 'endpoint_url' ] , None )