mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
Fixes tests with imap-tools 0.54.0 changes to the EmailAddress class
This commit is contained in:
parent
9191aa32df
commit
816f020cc3
1 changed files with 0 additions and 2 deletions
|
|
@ -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_)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue