From dec451c063876a3a580375455a3db0dcf398dc9c Mon Sep 17 00:00:00 2001 From: Neissi Torres Lima Date: Tue, 5 Aug 2014 17:43:05 -0300 Subject: Now you can run the server and the tests without changing any code! --- service/app/adapter/mail_converter.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 service/app/adapter/mail_converter.py (limited to 'service/app/adapter/mail_converter.py') diff --git a/service/app/adapter/mail_converter.py b/service/app/adapter/mail_converter.py new file mode 100644 index 00000000..a77fcdb7 --- /dev/null +++ b/service/app/adapter/mail_converter.py @@ -0,0 +1,19 @@ +class MailConverter: + + def __init__(self, mail_service): + pass + + def from_mail(self, imap_mail): + return inbox_mail + + + def to_mail(self, pixelated_mail, account): + raise NotImplementedError() + + + def from_tag(self, imap_tag): + raise NotImplementedError() + + + def from_contact(self, imap_contact): + raise NotImplementedError() -- cgit v1.2.3