summaryrefslogtreecommitdiff
path: root/service/test/support/test_helper.py
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2015-09-10 15:51:14 -0300
committerBruno Wagner <bwagner@riseup.net>2015-09-10 15:51:14 -0300
commit8d2dac75d667818ea28abc0c25f45e4ce4b3f6c8 (patch)
treed36d21cf6a09997dd8f9e54c795afc91a76872fb /service/test/support/test_helper.py
parent6f708c2b53c8faa2bc3d73891413a44d33044237 (diff)
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
Diffstat (limited to 'service/test/support/test_helper.py')
-rw-r--r--service/test/support/test_helper.py8
1 files changed, 1 insertions, 7 deletions
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({})