Last active
October 6, 2021 20:06
-
-
Save em-shea/844699475a5f8f4c7297ab8e1c20939f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
from unittest import mock | |
# Setting the default AWS region environment variable required by the Python SDK boto3 | |
with mock.patch.dict('os.environ', {'AWS_REGION': 'us-east-1'}): | |
from translate_file.app import lambda_handler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment