forked from CGM_Public/pretix_original
* 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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user