summaryrefslogtreecommitdiff
path: root/service/test/support/integration
diff options
context:
space:
mode:
authorkaeff <hi@kaeff.net>2015-09-07 17:10:46 +0200
committerkaeff <hi@kaeff.net>2015-09-08 14:06:48 +0200
commitf70dbbbf63198606a8468c2f47565086a86366a0 (patch)
tree695f925747e63209f7ace752c9393f8ae6bc63e5 /service/test/support/integration
parente926b0e3997976c0fddeb59d85ea79e33311d391 (diff)
Remove Soledad from AppTestClient
Diffstat (limited to 'service/test/support/integration')
-rw-r--r--service/test/support/integration/app_test_client.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/service/test/support/integration/app_test_client.py b/service/test/support/integration/app_test_client.py
index 089b62d7..f5c50712 100644
--- a/service/test/support/integration/app_test_client.py
+++ b/service/test/support/integration/app_test_client.py
@@ -80,7 +80,7 @@ class AppTestClient(object):
yield account_ready_cb
self.draft_service = DraftService(self.mail_store)
- self.mail_service = self._create_mail_service(self.mail_sender, self.mail_store, self.soledad_querier, self.search_engine)
+ self.mail_service = self._create_mail_service(self.mail_sender, self.mail_store, self.search_engine)
mails = yield self.mail_service.all_mails()
self.search_engine.index_mails(mails)
@@ -136,9 +136,6 @@ class AppTestClient(object):
request = request_mock(path=path, body=body, headers={'Content-Type': ['application/json']}, method="DELETE")
return self._render(request)
- def add_document_to_soledad(self, _dict):
- return self.soledad_querier.soledad.create_doc(_dict)
-
@defer.inlineCallbacks
def add_mail_to_inbox(self, input_mail):
mail = yield self.mail_store.add_mail('INBOX', input_mail.raw)
@@ -174,7 +171,7 @@ class AppTestClient(object):
mail_sender.sendmail.side_effect = lambda mail: succeed(mail)
return mail_sender
- def _create_mail_service(self, mail_sender, mail_store, soledad_querier, search_engine):
+ def _create_mail_service(self, mail_sender, mail_store, search_engine):
mail_service = MailService(mail_sender, mail_store, search_engine)
return mail_service