Added the required verbosity reference

This commit is contained in:
Daniel Quinn 2016-02-12 08:27:28 +00:00
parent 2421f559be
commit 840472071c
2 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,8 @@ class Message(Renderable):
https://www.ianlewis.org/en/parsing-email-attachments-python
"""
self.verbosity = verbosity
self.subject = None
self.time = None
self.attachment = None

View File

@ -27,7 +27,7 @@ class TestMessage(TestCase):
with open(self.sample, "rb") as f:
message = Message(f.read())
message = Message(f.read(), verbosity=0)
self.assertTrue(message)
self.assertEqual(message.subject, "Test 0")