diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2014-08-28 16:32:21 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2014-08-28 16:32:21 -0300 |
commit | c51c1024299fcf69cc67388b7dc35760a0414d12 (patch) | |
tree | 1ba8a59c67c6129f6ed6aa4950d9613704fce725 /service/test | |
parent | a6b76a9360cec5ead6621bd388397ee7ab663321 (diff) |
fix - account.mailboxes is a list of strings, using getMailbox to get from the name
Diffstat (limited to 'service/test')
-rw-r--r-- | service/test/adapter/mail_service_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/test/adapter/mail_service_test.py b/service/test/adapter/mail_service_test.py index b351df1c..d736e0d0 100644 --- a/service/test/adapter/mail_service_test.py +++ b/service/test/adapter/mail_service_test.py @@ -65,7 +65,8 @@ class TestMailService(unittest.TestCase): mailbox.messages = [matching_mail, not_matching_mail] mailbox.all_tags.return_value = set() account = MagicMock() - account.mailboxes = [mailbox] + account.mailboxes = ['inbox'] + account.getMailbox.return_value = mailbox leap_session = MagicMock(account=account) |