-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tweaks (#3856) * fix filtering by rdi * [200749] Add email sender settings (#3865) --------- Co-authored-by: Jan Romaniak <[email protected]> Co-authored-by: Domenico <[email protected]> Co-authored-by: Jan Romaniak <[email protected]>
- Loading branch information
1 parent
49c2832
commit 1efc38d
Showing
9 changed files
with
21 additions
and
11 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
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 |
---|---|---|
|
@@ -86,7 +86,7 @@ def __getitem__(self, key: int) -> list: | |
{ | ||
"Messages": [ | ||
{ | ||
"From": {"Email": settings.EMAIL_HOST_USER, "Name": settings.DEFAULT_FROM_EMAIL}, | ||
"From": {"Email": settings.DEFAULT_EMAIL, "Name": settings.DEFAULT_EMAIL_DISPLAY}, | ||
"Subject": f"[test] {subject}", | ||
"To": [{"Email": "[email protected]"}], | ||
"Cc": [{"Email": settings.SANCTION_LIST_CC_MAIL}], | ||
|
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 |
---|---|---|
|
@@ -33,6 +33,7 @@ def pytest_configure(config: Config) -> None: | |
settings.ELASTICSEARCH_INDEX_PREFIX = "test_" | ||
settings.EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend" | ||
settings.CATCH_ALL_EMAIL = [] | ||
settings.DEFAULT_EMAIL = "[email protected]" | ||
|
||
settings.EXCHANGE_RATE_CACHE_EXPIRY = 0 | ||
settings.USE_DUMMY_EXCHANGE_RATES = True | ||
|
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