generated from cfpb/open-source-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated code to set header on email subject based on desired logic (#39)
* Updated code to set header on email subject based on desired logic * Updated pytest * Changed subject header to use the env var * Changed check
- Loading branch information
Showing
3 changed files
with
11 additions
and
3 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
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 |
---|---|---|
|
@@ -57,7 +57,7 @@ def test_send_no_profile( | |
): | ||
email_json = { | ||
"email": { | ||
"subject": "[DEV BETA] SBL User Request for Institution Profile Change", | ||
"subject": "[CFPB BETA] SBL User Request for Institution Profile Change", | ||
"body": "Contact Email: [email protected]\nContact Name: \n\nlei: 1234567890ABCDEFGHIJ\ninstitution_name_1: Fintech 1\ntin_1: 12-3456789\nrssd_1: 1234567", | ||
"from_addr": "[email protected]", | ||
"to": ["[email protected]"], | ||
|
@@ -87,7 +87,7 @@ def test_send( | |
): | ||
email_json = { | ||
"email": { | ||
"subject": "[DEV BETA] SBL User Request for Institution Profile Change", | ||
"subject": "[CFPB BETA] SBL User Request for Institution Profile Change", | ||
"body": "Contact Email: [email protected]\nContact Name: Test User\n\nlei: 1234567890ABCDEFGHIJ\ninstitution_name_1: Fintech 1\ntin_1: 12-3456789\nrssd_1: 1234567", | ||
"from_addr": "[email protected]", | ||
"to": ["[email protected]"], | ||
|