Fix #1674 -- Change spelling of e-mail to email (#4636)

* Fix #1674 -- Change spelling of e-mail to email

* Conflicts and word list

* Add MobilePay to wordlist

* fix usage in tests
This commit is contained in:
Raphael Michel
2024-11-18 17:21:29 +01:00
committed by GitHub
parent 3e934acfa0
commit 03d3c389da
111 changed files with 14808 additions and 14466 deletions

View File

@@ -151,7 +151,7 @@ def test_send_mail_with_user_locale(env):
assert len(djmail.outbox) == 1
assert djmail.outbox[0].subject == 'Benutzer'
assert 'The language code used for rendering this e-mail is de.' in djmail.outbox[0].body
assert 'The language code used for rendering this email is de.' in djmail.outbox[0].body
@pytest.mark.django_db

View File

@@ -282,7 +282,7 @@ def test_import_email_invalid(user, event, item):
import_orders.apply(
args=(event.pk, inputfile_factory().id, settings, 'en', user.pk)
).get()
assert 'Error while importing value "Dieter" for column "E-mail address" in line "1": Enter a valid email address.' in str(excinfo.value)
assert 'Error while importing value "Dieter" for column "Email address" in line "1": Enter a valid email address.' in str(excinfo.value)
@pytest.mark.django_db
@@ -356,7 +356,7 @@ def test_import_attendee_email_invalid(user, event, item):
import_orders.apply(
args=(event.pk, inputfile_factory().id, settings, 'en', user.pk)
).get()
assert 'Error while importing value "Dieter" for column "Attendee e-mail address" in line "1": Enter a valid email address.' in str(excinfo.value)
assert 'Error while importing value "Dieter" for column "Attendee email address" in line "1": Enter a valid email address.' in str(excinfo.value)
@pytest.mark.django_db