From 222dd5087a16ea16ea0c4f0d17c25d9de00f8360 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Wed, 5 Aug 2026 12:28:06 +0200 Subject: [PATCH] undo placeholder-tests --- src/tests/plugins/sendmail/test_sendmail.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/tests/plugins/sendmail/test_sendmail.py b/src/tests/plugins/sendmail/test_sendmail.py index 932df92d8d..c971291d03 100644 --- a/src/tests/plugins/sendmail/test_sendmail.py +++ b/src/tests/plugins/sendmail/test_sendmail.py @@ -464,7 +464,7 @@ def test_sendmail_attendee_subevent_range_filter(logged_in_client, sendmail_url, 'recipients': 'attendees', 'items': item.pk, 'subject_0': 'Test subject', - 'message_0': 'This is a test file for sending mails. {event}, {event_location}, Admission {event_admission_time}', + 'message_0': 'This is a test file for sending mails.', 'subevents_from_0': '2023-07-01', 'subevents_from_1': '00:00:00', 'subevents_to_0': '2023-08-01', @@ -477,7 +477,6 @@ def test_sendmail_attendee_subevent_range_filter(logged_in_client, sendmail_url, assert djmail.outbox[0].to == ['attendee1@dummy.test'] assert '/ticket/' in djmail.outbox[0].body assert '/order/' not in djmail.outbox[0].body - assert 'This is a test file for sending mails. ' in djmail.outbox[0].body @pytest.mark.django_db @@ -600,7 +599,7 @@ def test_waitinglist_sendmail_simple_case(logged_in_client, sendmail_url, event, {'action': 'send', 'items': waitinglistentry.item_id, 'subject_0': 'Test subject', - 'message_0': 'This is a test file for sending mails. {event}, {event_location}, Admission {event_admission_time}', + 'message_0': 'This is a test file for sending mails.', }, follow=True) assert response.status_code == 200 @@ -609,7 +608,7 @@ def test_waitinglist_sendmail_simple_case(logged_in_client, sendmail_url, event, assert len(djmail.outbox) == 1 assert djmail.outbox[0].to == [waitinglistentry.email] assert djmail.outbox[0].subject == 'Test subject' - assert 'This is a test file for sending mails. Dummy, Foo City, Admission 12:30' in djmail.outbox[0].body + assert 'This is a test file for sending mails.' in djmail.outbox[0].body url = sendmail_url + 'history/' response = logged_in_client.get(url)