From 816f020cc3e412120fb8c6b4f1d22a3381e2dbcb Mon Sep 17 00:00:00 2001 From: Trenton Holmes Date: Tue, 26 Apr 2022 08:11:25 -0700 Subject: [PATCH] Fixes tests with imap-tools 0.54.0 changes to the EmailAddress class --- src/paperless_mail/tests/test_mail.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/paperless_mail/tests/test_mail.py b/src/paperless_mail/tests/test_mail.py index 85f20c2d0..6bf89648e 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_)