mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Improve documentation and flake8
This commit is contained in:
parent
88e17ea684
commit
6dcded0e75
4 changed files with 13 additions and 13 deletions
|
|
@ -345,6 +345,9 @@ class TestProcessEmail(EmailMessageTestCase):
|
|||
)
|
||||
msg = self.mailbox.record_outgoing_message(email_object.message())
|
||||
|
||||
with self.assertRaises(ValueError):
|
||||
msg.reply(Message(subject="ping", body="pong"))
|
||||
|
||||
self.assertTrue(msg.outgoing)
|
||||
|
||||
actual_from = 'username@example.com'
|
||||
|
|
@ -439,7 +442,7 @@ class TestProcessEmail(EmailMessageTestCase):
|
|||
|
||||
msg = self.mailbox.process_incoming_message(message)
|
||||
|
||||
actual_email_object = msg.get_email_object()
|
||||
_actual_email_object = msg.get_email_object()
|
||||
|
||||
self.assertTrue(msg.eml.name.endswith('.eml.gz'))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue