diff options
author | kaeff <hi@kaeff.net> | 2015-09-04 16:28:04 +0200 |
---|---|---|
committer | kaeff <hi@kaeff.net> | 2015-09-04 16:28:04 +0200 |
commit | 8c6a2155fd35180307eae39ae7c51ab56ab0efc2 (patch) | |
tree | 82ed1751eaa506096e01d9f7bad2f6ed8b340d55 /service/test | |
parent | 1248a64f54f26484d20d710778a96783b0682de2 (diff) |
Remove SoledadQuerier from Services
- Issues: #449, #432
Diffstat (limited to 'service/test')
-rw-r--r-- | service/test/support/integration/app_test_client.py | 2 | ||||
-rw-r--r-- | service/test/unit/adapter/test_mail_service.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/service/test/support/integration/app_test_client.py b/service/test/support/integration/app_test_client.py index e44a8c10..089b62d7 100644 --- a/service/test/support/integration/app_test_client.py +++ b/service/test/support/integration/app_test_client.py @@ -175,7 +175,7 @@ class AppTestClient(object): return mail_sender def _create_mail_service(self, mail_sender, mail_store, soledad_querier, search_engine): - mail_service = MailService(mail_sender, mail_store, soledad_querier, search_engine) + mail_service = MailService(mail_sender, mail_store, search_engine) return mail_service def _generate_soledad_test_folder_name(self, soledad_test_folder='/tmp/soledad-test/test'): diff --git a/service/test/unit/adapter/test_mail_service.py b/service/test/unit/adapter/test_mail_service.py index 30784769..677745f2 100644 --- a/service/test/unit/adapter/test_mail_service.py +++ b/service/test/unit/adapter/test_mail_service.py @@ -27,7 +27,6 @@ from twisted.internet import defer class TestMailService(unittest.TestCase): def setUp(self): self.drafts = mock() - self.querier = mock() self.mail_store = mock() self.mailboxes = mock() @@ -38,7 +37,7 @@ class TestMailService(unittest.TestCase): self.mail_sender = mock() self.search_engine = mock() - self.mail_service = MailService(self.mail_sender, self.mail_store, self.querier, self.search_engine) + self.mail_service = MailService(self.mail_sender, self.mail_store, self.search_engine) def tearDown(self): unstub() |