From 44a7026e7af3c856ef6d1734bb7a161de8f22e4a Mon Sep 17 00:00:00 2001 From: Patrick Maia Date: Wed, 29 Oct 2014 11:01:37 -0300 Subject: Card #30 - adds attachments controller --- service/test/support/integration_helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'service/test/support') 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) -- cgit v1.2.3