title: Mock AWS Glue job Unit test case
body: <p>I need help for writing python mock unit test case to trigger AWS Glue job using lambda. Please help me. Below is the sample code</p>
  
  <pre><code># Set up logging
   import json
   import os
   import logging
   logger = logging.getLogger()
   logger.setLevel(logging.INFO)
  
   # Import Boto 3 for AWS Glue
   import boto3
   client = boto3.client('glue')
  
   # Variables for the job: 
   glueJobName = "MyTestJob"
  
   # Define Lambda function
   def lambda_handler(event, context):
    logger.info('## TRIGGERED BY EVENT: ')
  
    logger.info(event['detail'])
    response = 
    client.start_job_run(JobName = glueJobName)
    logger.info('## STARTED GLUE JOB: ' + glueJobName)
    logger.info('## GLUE JOB RUN ID: ' + response['JobRunId'])
    return response
  </code></pre>
  
  <p>Please help.</p>