Make it clear reminder email does not relate to new issue (#16661)
* Make it clear rejection emailis a reminder * black formatting
This commit is contained in:
Родитель
bb3e280700
Коммит
57dc1f258f
|
@ -95,7 +95,9 @@ class Command(BaseCommand):
|
|||
'delayed_rejection_days': self.EXPIRING_PERIOD_DAYS,
|
||||
}
|
||||
template = 'reject_multiple_versions_with_delay'
|
||||
subject = 'Mozilla Add-ons: %s%s will be disabled on addons.mozilla.org'
|
||||
subject = (
|
||||
'Reminder - Mozilla Add-ons: %s%s will be disabled on addons.mozilla.org'
|
||||
)
|
||||
# This re-sends the notification sent when the versions were scheduled
|
||||
# for rejection, but with the new delay in the body of the email now
|
||||
# that the notification is about to expire.
|
||||
|
|
|
@ -861,7 +861,7 @@ class TestSendPendingRejectionLastWarningNotification(TestCase):
|
|||
assert addon.reviewerflags.notified_about_expiring_delayed_rejections
|
||||
message = mail.outbox[0]
|
||||
assert message.subject == (
|
||||
'Mozilla Add-ons: %s will be disabled on addons.mozilla.org'
|
||||
'Reminder - Mozilla Add-ons: %s will be disabled on addons.mozilla.org'
|
||||
% str(addon.name)
|
||||
)
|
||||
assert message.to == [author.email]
|
||||
|
|
Загрузка…
Ссылка в новой задаче