title: Unit Test mocking AWS Lambda Function, Python
body: <p>I have a aws lambda function which will upload a dicom image located in an s3 bucket to a 3rd party server and retrieved the response.
  How do I mock my lambda function using pytest mock
  ? </p>