summaryrefslogtreecommitdiff
path: root/service/test/unit/adapter/mail_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/unit/adapter/mail_test.py')
-rw-r--r--service/test/unit/adapter/mail_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/unit/adapter/mail_test.py b/service/test/unit/adapter/mail_test.py
index 00a05b4a..d0e2bcec 100644
--- a/service/test/unit/adapter/mail_test.py
+++ b/service/test/unit/adapter/mail_test.py
@@ -96,7 +96,7 @@ class TestPixelatedMail(unittest.TestCase):
parts['alternatives'].append({'content': 'blablabla', 'headers': {'Content-Type': 'text/plain'}})
parts['alternatives'].append({'content': '<p>blablabla</p>', 'headers': {'Content-Type': 'text/html'}})
- mail = PixelatedMail.from_soledad(None, None, None, None, parts=parts)
+ mail = PixelatedMail.from_soledad(None, None, None, parts=parts, soledad_querier=None)
self.assertRegexpMatches(mail.body, '^--' + mail.boundary + '\n.*')
self.assertRegexpMatches(mail.body, '\nContent-Type: text/html\n\n<p>blablabla</p>\n')
@@ -108,7 +108,7 @@ class TestPixelatedMail(unittest.TestCase):
parts['alternatives'].append({'content': '100% happy with percentage symbol', 'headers': {'Content-Type': 'text/plain'}})
parts['alternatives'].append({'content': '<p>100% happy with percentage symbol</p>', 'headers': {'Content-Type': 'text/html'}})
- mail = PixelatedMail.from_soledad(None, None, None, None, parts=parts)
+ mail = PixelatedMail.from_soledad(None, None, None, parts=parts, soledad_querier=None)
self.assertRegexpMatches(mail.body, '([\s\S]*100%){2}')