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.
* Add vendor name Why these changes are being introduced: * Stakeholders requested that the vendor name be added to the credit card slips email How this addresses that need: * Update extract_credit_card_slip_data function to include vendor name * Add vendor name to XML template * Update PR template * Update fixtures and unit tests to account for code changes Side effects of this change: * None Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/INFRA-439 * Update Pipfile.lock * Update moto call
- Loading branch information
Showing
8 changed files
with
585 additions
and
380 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 |
---|---|---|
@@ -1,38 +1,29 @@ | ||
### What does this PR do? | ||
|
||
Describe the overall purpose of the PR changes. Doesn't need to be as specific as the | ||
individual commits. | ||
|
||
### Helpful background context | ||
|
||
Describe any additional context beyond what the PR accomplishes if it is likely to be | ||
useful to a reviewer. | ||
|
||
Delete this section if it isn't applicable to the PR. | ||
### Purpose and background context | ||
Describe the overall purpose of the PR changes and any useful background context. | ||
|
||
### How can a reviewer manually see the effects of these changes? | ||
|
||
Explain how to see the proposed changes in the application if possible. | ||
|
||
Delete this section if it isn't applicable to the PR. | ||
|
||
### Includes new or updated dependencies? | ||
YES | NO | ||
|
||
### Changes expectations for external applications? | ||
YES | NO | ||
|
||
### What are the relevant tickets? | ||
|
||
Include links to Jira Software and/or Jira Service Management tickets here. | ||
- Include links to Jira Software and/or Jira Service Management tickets here. | ||
|
||
### Developer | ||
|
||
- [ ] All new ENV is documented in README (or there is none) | ||
- [ ] All new ENV is documented in README | ||
- [ ] All new ENV has been added to staging and production environments | ||
- [ ] All related Jira tickets are linked in commit message(s) | ||
- [ ] Stakeholder approval has been confirmed (or is not needed) | ||
|
||
### Code Reviewer | ||
|
||
- [ ] The commit message is clear and follows our guidelines (not just this pull request message) | ||
### Code Reviewer(s) | ||
- [ ] The commit message is clear and follows our guidelines (not just this PR message) | ||
- [ ] There are appropriate tests covering any new functionality | ||
- [ ] The documentation has been updated or is unnecessary | ||
- [ ] The changes have been verified | ||
- [ ] The provided documentation is sufficient for understanding any new functionality introduced | ||
- [ ] Any manual tests have been performed and verified | ||
- [ ] New dependencies are appropriate or there were no changes |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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 |
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
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
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