def get_ec2_client_for_test(config):
 return ec2_client(region=config['region'], zone=config['zone'], access_key_id=config['access_key_id'], secret_access_key=config['secret_access_key'])

def get_ec2_client_for_test ( config ) : return ec2_client ( region = config [ 'region' ] , zone = config [ 'zone' ] , access_key_id = config [ 'access_key_id' ] , secret_access_key = config [ 'secret_access_key' ] )
get a simple ec2 client .