diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-08-27 15:39:07 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-08-27 15:39:07 +0200 |
commit | c446515a56d5859d55ce9f162d1e3327627981c0 (patch) | |
tree | 60b425c647b190c1e0bbcd70504517301ed5fd22 /service/pixelated | |
parent | b22d21e4cffe5f1ab5a0c73d8a8050bcb248cb67 (diff) |
Added integration test for MailboxInboxListener.
- Issue #445
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/adapter/listeners/mailbox_indexer_listener.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/service/pixelated/adapter/listeners/mailbox_indexer_listener.py b/service/pixelated/adapter/listeners/mailbox_indexer_listener.py index 8e7eca1a..77a78f0e 100644 --- a/service/pixelated/adapter/listeners/mailbox_indexer_listener.py +++ b/service/pixelated/adapter/listeners/mailbox_indexer_listener.py @@ -30,6 +30,8 @@ class MailboxIndexerListener(object): mbx = yield account.getMailbox(mailbox_name) mbx.addListener(listener) + defer.returnValue(listener) + def __init__(self, mailbox_name, mail_store): self.mailbox_name = mailbox_name self.mail_store = mail_store |