Skip to content

Commit

Permalink
Update moto call
Browse files Browse the repository at this point in the history
  • Loading branch information
ehanson8 committed May 14, 2024
1 parent c1dd41c commit 63e6259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

0 comments on commit 63e6259

Please sign in to comment.