-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update translations for permission and anonymization emails
- Loading branch information
1 parent
a13c305
commit 453f5e3
Showing
7 changed files
with
113 additions
and
96 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 |
---|---|---|
|
@@ -172,7 +172,7 @@ def test_email_service__send_permission_deactivation_emails(outbox): | |
|
||
assert len(outbox) == 1 | ||
|
||
assert outbox[0].subject == "Your permissions in Varaamo are going to be deactivated" | ||
assert outbox[0].subject == "Your staff access to Varaamo is expiring" | ||
assert sorted(outbox[0].bcc) == ["[email protected]"] | ||
|
||
|
||
|
@@ -205,7 +205,7 @@ def test_email_service__send_permission_deactivation_emails__permissions_going_t | |
|
||
assert len(outbox) == 1 | ||
|
||
assert outbox[0].subject == "Your permissions in Varaamo are going to be deactivated" | ||
assert outbox[0].subject == "Your staff access to Varaamo is expiring" | ||
assert sorted(outbox[0].bcc) == ["[email protected]"] | ||
|
||
|
||
|
@@ -237,7 +237,7 @@ def test_email_service__send_permission_deactivation_emails__general_admin(outbo | |
|
||
assert len(outbox) == 1 | ||
|
||
assert outbox[0].subject == "Your permissions in Varaamo are going to be deactivated" | ||
assert outbox[0].subject == "Your staff access to Varaamo is expiring" | ||
assert sorted(outbox[0].bcc) == ["[email protected]"] | ||
|
||
|
||
|
@@ -270,7 +270,7 @@ def test_email_service__send_permission_deactivation_emails__unit_admin(outbox): | |
|
||
assert len(outbox) == 1 | ||
|
||
assert outbox[0].subject == "Your permissions in Varaamo are going to be deactivated" | ||
assert outbox[0].subject == "Your staff access to Varaamo is expiring" | ||
assert sorted(outbox[0].bcc) == ["[email protected]"] | ||
|
||
|
||
|
@@ -309,10 +309,10 @@ def test_email_service__send_permission_deactivation_emails__multiple_languages( | |
|
||
assert len(outbox) == 2 | ||
|
||
assert outbox[0].subject == "Varaamo-tunnuksesi käyttöoikeudet ovat vanhenemassa" | ||
assert outbox[0].subject == "Henkilökunnan käyttöoikeutesi Varaamoon on vanhentumassa" | ||
assert sorted(outbox[0].bcc) == ["[email protected]"] | ||
|
||
assert outbox[1].subject == "Your permissions in Varaamo are going to be deactivated" | ||
assert outbox[1].subject == "Your staff access to Varaamo is expiring" | ||
assert sorted(outbox[1].bcc) == ["[email protected]"] | ||
|
||
|
||
|
@@ -362,7 +362,7 @@ def test_email_service__send_user_anonymization_emails(outbox): | |
|
||
assert len(outbox) == 1 | ||
|
||
assert outbox[0].subject == "The data in your Varaamo account will be removed soon" | ||
assert outbox[0].subject == "Your user account in the Varaamo service is expiring" | ||
assert sorted(outbox[0].bcc) == ["[email protected]"] | ||
|
||
|
||
|
@@ -423,7 +423,7 @@ def test_email_service__send_user_anonymization_emails__going_to_be_old(outbox): | |
|
||
assert len(outbox) == 1 | ||
|
||
assert outbox[0].subject == "The data in your Varaamo account will be removed soon" | ||
assert outbox[0].subject == "Your user account in the Varaamo service is expiring" | ||
assert sorted(outbox[0].bcc) == ["[email protected]"] | ||
|
||
|
||
|
@@ -470,10 +470,10 @@ def test_email_service__send_user_anonymization_emails__multiple_languages(outbo | |
|
||
assert len(outbox) == 2 | ||
|
||
assert outbox[0].subject == "Tiedot Varaamo tililläsi tullaan poistamaan pian" | ||
assert outbox[0].subject == "Käyttäjätilisi Varaamo-palveluun on vanhentumassa" | ||
assert sorted(outbox[0].bcc) == ["[email protected]"] | ||
|
||
assert outbox[1].subject == "The data in your Varaamo account will be removed soon" | ||
assert outbox[1].subject == "Your user account in the Varaamo service is expiring" | ||
assert sorted(outbox[1].bcc) == ["[email protected]"] | ||
|
||
|
||
|
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
Oops, something went wrong.