generated from MITLibraries/python-cli-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
import pytest | ||
import requests_mock | ||
from click.testing import CliRunner | ||
from moto import mock_ses | ||
from moto import mock_aws | ||
|
||
from ccslips.alma import AlmaClient | ||
|
||
|
@@ -136,7 +136,7 @@ def mocked_alma(fund_records, po_line_records): | |
# AWS fixtures | ||
@pytest.fixture(autouse=True) | ||
def mocked_ses(): | ||
with mock_ses(): | ||
with mock_aws(): | ||
ses = boto3.client("ses", region_name="us-east-1") | ||
ses.verify_email_identity(EmailAddress="[email protected]") | ||
yield ses |