mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-12 20:56:46 +02:00
Fix test regression from pr #731
https://github.com/django-helpdesk/django-helpdesk/pull/731/files#diff-dc9aca3bb03b3531dc114813db32f3c7R56
This commit is contained in:
parent
4d9a5f2c55
commit
f3ffebc261
@ -53,7 +53,7 @@ class GetEmailCommonTests(TestCase):
|
|||||||
with open(os.path.join(THIS_DIR, "test_files/blank-body-with-attachment.eml")) as fd:
|
with open(os.path.join(THIS_DIR, "test_files/blank-body-with-attachment.eml")) as fd:
|
||||||
test_email = fd.read()
|
test_email = fd.read()
|
||||||
ticket = helpdesk.email.object_from_message(test_email, self.queue_public, self.logger)
|
ticket = helpdesk.email.object_from_message(test_email, self.queue_public, self.logger)
|
||||||
self.assertEqual(ticket.title, "FollowUpAttachment without body")
|
self.assertEqual(ticket.title, "Attachment without body")
|
||||||
self.assertEqual(ticket.description, "")
|
self.assertEqual(ticket.description, "")
|
||||||
|
|
||||||
def test_email_with_quoted_printable_body(self):
|
def test_email_with_quoted_printable_body(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user