diff options
author | Patrick Maia <pmaia@thoughtworks.com> | 2014-10-29 11:01:37 -0300 |
---|---|---|
committer | Patrick Maia <pmaia@thoughtworks.com> | 2014-10-29 11:01:48 -0300 |
commit | 44a7026e7af3c856ef6d1734bb7a161de8f22e4a (patch) | |
tree | 42d2da84bde48e894cb4519d2e8cc39fa422d2bf /service/test/support | |
parent | f24dc09f8073748d5734c83617044b599a08d192 (diff) |
Card #30 - adds attachments controller
Diffstat (limited to 'service/test/support')
-rw-r--r-- | service/test/support/integration_helper.py | 3 |
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) |