From b84a1f98cf004d7b2320e473d2867de65542f789 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Tue, 15 Sep 2026 13:15:43 +0200 Subject: [PATCH] fix flake8 --- src/tests/plugins/sendmail/test_rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/plugins/sendmail/test_rules.py b/src/tests/plugins/sendmail/test_rules.py index acf707b347..06f44bcdd1 100644 --- a/src/tests/plugins/sendmail/test_rules.py +++ b/src/tests/plugins/sendmail/test_rules.py @@ -225,7 +225,7 @@ def test_sendmail_rule_send_addons(send_to, amount_mails, recipients, ticket_mai order.all_positions.create(item=item2, price=0, attendee_email=addon_mail, addon_to=p) rule = order.event.sendmail_rules.create(date_is_absolute=True, send_date=dt_now - datetime.timedelta(hours=1), send_to=send_to, subject='meow', template='meow meow meow', - all_products=products=='all') + all_products=products == 'all') if products == 'addon': rule.limit_products.set([item2]) if products == 'both':