summaryrefslogtreecommitdiff
path: root/service/test/support
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/support')
-rw-r--r--service/test/support/integration_helper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/test/support/integration_helper.py b/service/test/support/integration_helper.py
index 4691af2d..3abf53da 100644
--- a/service/test/support/integration_helper.py
+++ b/service/test/support/integration_helper.py
@@ -162,9 +162,10 @@ class SoledadTestBase:
search_engine=self.search_engine)
tags_controller = TagsController(search_engine=self.search_engine)
sync_info_controller = SyncInfoController()
+ attachments_controller = AttachmentsController(self.soledad_querier)
app_factory._setup_routes(self.client.application, home_controller, mails_controller, tags_controller,
- features_controller, sync_info_controller)
+ features_controller, sync_info_controller, attachments_controller)
def get_mails_by_tag(self, tag, page=1, window=100):
response = json.loads(self.client.get("/mails?q=tag:%s&w=%s&p=%s" % (tag, window, page)).data)