-
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.
- Loading branch information
Showing
1 changed file
with
5 additions
and
6 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 |
---|---|---|
|
@@ -23,16 +23,16 @@ def mock_get(key, *args): | |
|
||
case "EMAIL_ENC_SUL": | ||
value = "[email protected]" | ||
|
||
case "EMAIL_ENC_LAW": | ||
value = "[email protected]" | ||
|
||
case "EMAIL_ENC_LANE": | ||
value = "[email protected]" | ||
|
||
case "OKAPI_URL": | ||
value = "okapi-test" | ||
|
||
case "FOLIO_URL": | ||
value = "okapi-test" | ||
|
||
|
@@ -87,11 +87,10 @@ def test_fix_encumbrances_email_subject(): | |
def test_email_to(mocker): | ||
mocker.patch( | ||
'libsys_airflow.plugins.shared.utils.send_email_with_server_name', | ||
return_value = None | ||
return_value=None, | ||
) | ||
|
||
from libsys_airflow.plugins.folio.encumbrances.email import email_to | ||
|
||
to_addresses = email_to(fy_code='SUL2025') | ||
assert to_addresses == ['[email protected]', '[email protected]'] | ||
|