diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-07-31 13:11:53 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-08-11 17:00:31 +0200 |
commit | a7c84d6faf5ddd7866ce4c0508e03c7c3779eaca (patch) | |
tree | 0a1716ef830a64480f0ac8b8b8446294bfdd2835 /service/test/unit | |
parent | 12636acfa193fb6871367771582f43a95611bfba (diff) |
Added mail store to mail service.
Diffstat (limited to 'service/test/unit')
-rw-r--r-- | service/test/unit/adapter/test_mail_service.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/test/unit/adapter/test_mail_service.py b/service/test/unit/adapter/test_mail_service.py index 4ee99d3a..1f88ca8d 100644 --- a/service/test/unit/adapter/test_mail_service.py +++ b/service/test/unit/adapter/test_mail_service.py @@ -26,6 +26,7 @@ class TestMailService(unittest.TestCase): def setUp(self): self.drafts = mock() self.querier = mock() + self.mail_store = mock() self.mailboxes = mock() self.mailboxes.drafts = defer.succeed(self.drafts) @@ -35,7 +36,7 @@ class TestMailService(unittest.TestCase): self.mail_sender = mock() self.search_engine = mock() - self.mail_service = MailService(self.mailboxes, self.mail_sender, self.querier, self.search_engine) + self.mail_service = MailService(self.mailboxes, self.mail_sender, self.mail_store, self.querier, self.search_engine) def tearDown(self): unstub() |