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.
Changed path of source to regtech-mail-api/src/regtech_mail_api
- Loading branch information
Showing
10 changed files
with
440 additions
and
294 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
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
|
||
@pytest.fixture | ||
def app_fixture(mocker: MockerFixture) -> FastAPI: | ||
from api import app | ||
from regtech_mail_api.api import app | ||
|
||
return app | ||
|
||
|
@@ -58,7 +58,7 @@ def test_send_no_profile( | |
email_json = { | ||
"email": { | ||
"subject": "[DEV BETA] SBL User Request for Institution Profile Change", | ||
"body": "Contact Email: [email protected]\n\nlei: 1234567890ABCDEFGHIJ\ninstitution_name_1: Fintech 1\ntin_1: 12-3456789\nrssd_1: 1234567", | ||
"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]", | ||
"sender": "[email protected]", | ||
"to": ["[email protected]"], | ||
|
@@ -88,8 +88,8 @@ def test_send( | |
): | ||
email_json = { | ||
"email": { | ||
"subject": "[DEV BETA] SBL User Request for Institution Profile Change by Test User", | ||
"body": "Contact Email: [email protected]\n\nlei: 1234567890ABCDEFGHIJ\ninstitution_name_1: Fintech 1\ntin_1: 12-3456789\nrssd_1: 1234567", | ||
"subject": "[DEV 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]", | ||
"sender": "Test User <[email protected]>", | ||
"to": ["[email protected]"], | ||
|