Created
August 28, 2019 12:12
-
-
Save briggleman/65e4fec7e28d87a163e28d45012c7ece to your computer and use it in GitHub Desktop.
This file contains 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 pytest | |
from unittest import mock | |
@pytest.fixture(autouse=True) | |
def mock_boto(): | |
# change to the directory where boto3 is being called | |
with mock.patch("reward.lib.aws.boto3") as mocked: | |
yield mocked |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment