diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2015-02-03 18:58:13 -0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2015-02-03 18:58:13 -0200 |
commit | 9e7643588e124290879a9ae82f20fa628a9c090a (patch) | |
tree | bd7979919eb1bd8be573afd2fdc8fbbf7115ad17 /service/test/support | |
parent | 543e43ce85bb5d8863dbbf2a458af92d21b018cf (diff) |
Movinge MailsResource#render_POST logic to MailService and some search_engine calls to Mailbox
Diffstat (limited to 'service/test/support')
-rw-r--r-- | service/test/support/integration/app_test_client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/support/integration/app_test_client.py b/service/test/support/integration/app_test_client.py index 45f81cc1..dd2d0200 100644 --- a/service/test/support/integration/app_test_client.py +++ b/service/test/support/integration/app_test_client.py @@ -63,11 +63,11 @@ class AppTestClient: self.soledad_querier.get_index_masterkey = lambda: self.INDEX_KEY self.account = SoledadBackedAccount('test', self.soledad, MagicMock()) - self.mailboxes = Mailboxes(self.account, self.soledad_querier) + self.search_engine = SearchEngine(self.soledad_querier, agent_home=soledad_test_folder) + self.mailboxes = Mailboxes(self.account, self.soledad_querier, self.search_engine) self.mail_sender = Mock() self.tag_service = TagService() self.draft_service = DraftService(self.mailboxes) - self.search_engine = SearchEngine(self.soledad_querier, agent_home=soledad_test_folder) self.mail_service = MailService(self.mailboxes, self.mail_sender, self.tag_service, self.soledad_querier, self.search_engine) self.search_engine.index_mails(self.mail_service.all_mails()) |