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/unit/adapter/test_mail_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'service/test/unit/adapter/test_mail_service.py') diff --git a/service/test/unit/adapter/test_mail_service.py b/service/test/unit/adapter/test_mail_service.py index 5c035fc8..6faf5140 100644 --- a/service/test/unit/adapter/test_mail_service.py +++ b/service/test/unit/adapter/test_mail_service.py @@ -15,7 +15,7 @@ # along with Pixelated. If not, see . from twisted.trial import unittest from pixelated.adapter.mailstore.leap_mailstore import LeapMail -from pixelated.adapter.model.mail import InputMail, PixelatedMail +from pixelated.adapter.model.mail import InputMail from pixelated.adapter.model.status import Status from pixelated.adapter.services.mail_service import MailService @@ -134,7 +134,7 @@ class TestMailService(unittest.TestCase): @defer.inlineCallbacks def test_recover_mail(self): - mail_to_recover = PixelatedMail.from_soledad(*leap_mail()) + mail_to_recover = LeapMail(1, 'TRASH') when(self.mail_service).mail(1).thenReturn(mail_to_recover) when(self.mail_store).move_mail_to_mailbox(1, 'INBOX').thenReturn(mail_to_recover) -- cgit v1.2.3