From 8d2dac75d667818ea28abc0c25f45e4ce4b3f6c8 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Thu, 10 Sep 2015 15:51:14 -0300 Subject: Removed PixelatedMail class leftovers We removed Pixelated mail tests and adapted the remaining tests to use Leap mail instead of it. Completely removed that now --- service/test/support/test_helper.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'service/test/support/test_helper.py') diff --git a/service/test/support/test_helper.py b/service/test/support/test_helper.py index 8f2a5308..21f59d8f 100644 --- a/service/test/support/test_helper.py +++ b/service/test/support/test_helper.py @@ -17,7 +17,7 @@ from datetime import datetime import io from twisted.web.test.test_web import DummyRequest -from pixelated.adapter.model.mail import InputMail, PixelatedMail +from pixelated.adapter.model.mail import InputMail LEAP_FLAGS = ['\\Seen', @@ -69,12 +69,6 @@ def leap_mail(uid=0, flags=LEAP_FLAGS, headers=None, extra_headers={}, mbox_uuid return (fdoc, hdoc, bdoc) -def pixelated_mail(uid=0, flags=LEAP_FLAGS, headers=None, extra_headers={}, mbox_uuid='INBOX', body='body', chash='chash'): - fdoc, hdoc, bdoc = leap_mail(uid, flags, headers, extra_headers, mbox_uuid, body, chash) - - return PixelatedMail.from_soledad(fdoc, hdoc, bdoc) - - def input_mail(): mail = InputMail() mail.fdoc = TestDoc({}) -- cgit v1.2.3