Fixes tests with imap-tools 0.54.0 changes to the EmailAddress class

This commit is contained in:
Trenton Holmes 2022-04-26 08:11:25 -07:00
parent 9191aa32df
commit 816f020cc3

View File

@ -228,7 +228,6 @@ class TestMail(DirectoriesMixin, TestCase):
message.from_values = EmailAddress( message.from_values = EmailAddress(
"Someone!", "Someone!",
"someone@somewhere.com", "someone@somewhere.com",
"Someone! <someone@somewhere.com>",
) )
message2 = namedtuple("MailMessage", []) message2 = namedtuple("MailMessage", [])
@ -236,7 +235,6 @@ class TestMail(DirectoriesMixin, TestCase):
message2.from_values = EmailAddress( message2.from_values = EmailAddress(
"", "",
"fake@localhost.com", "fake@localhost.com",
"",
) )
me_localhost = Correspondent.objects.create(name=message2.from_) me_localhost = Correspondent.objects.create(name=message2.from_)