summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter
diff options
context:
space:
mode:
authormnandri <mnandri@eumguccion.corporate.thoughtworks.com>2015-12-15 14:42:20 +0100
committermnandri <mnandri@eunglick.corporate.thoughtworks.com>2015-12-18 11:22:34 +0100
commit93350f99193b78c6adf0b79b8565fe477912fd80 (patch)
tree3f4984504b976cecd629b59ee3cf237091002835 /service/pixelated/adapter
parentb7ce40f3c7f3b5c720cc4ecfb13555519ac6a108 (diff)
backend that handles post of a single attachment file
Issue #548
Diffstat (limited to 'service/pixelated/adapter')
-rw-r--r--service/pixelated/adapter/services/mail_service.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py
index f0bc056b..964e4354 100644
--- a/service/pixelated/adapter/services/mail_service.py
+++ b/service/pixelated/adapter/services/mail_service.py
@@ -35,6 +35,11 @@ class MailService(object):
defer.returnValue(mails)
@defer.inlineCallbacks
+ def attachment_id(self, _file):
+ _attachment_id = yield 'mocked_for_now'
+ defer.returnValue(_attachment_id)
+
+ @defer.inlineCallbacks
def mails(self, query, window_size, page):
mail_ids, total = self.search_engine.search(query, window_size, page)