From: Trenton Holmes Date: Tue, 26 Apr 2022 15:11:25 +0000 (-0700) Subject: Fixes tests with imap-tools 0.54.0 changes to the EmailAddress class X-Git-Tag: v1.8.0-beta.rc1~163^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F758%2Fhead;p=thirdparty%2Fpaperless-ngx.git Fixes tests with imap-tools 0.54.0 changes to the EmailAddress class --- diff --git a/src/paperless_mail/tests/test_mail.py b/src/paperless_mail/tests/test_mail.py index 85f20c2d08..6bf89648eb 100644 --- a/src/paperless_mail/tests/test_mail.py +++ b/src/paperless_mail/tests/test_mail.py @@ -228,7 +228,6 @@ class TestMail(DirectoriesMixin, TestCase): message.from_values = EmailAddress( "Someone!", "someone@somewhere.com", - "Someone! ", ) message2 = namedtuple("MailMessage", []) @@ -236,7 +235,6 @@ class TestMail(DirectoriesMixin, TestCase): message2.from_values = EmailAddress( "", "fake@localhost.com", - "", ) me_localhost = Correspondent.objects.create(name=message2.from_)