diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2017-03-08 02:08:34 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2017-03-08 02:08:34 +0900 |
commit | ef630eaf5b387fcf928490d0c80c49403444d55b (patch) | |
tree | e7224f6ab59f63950bf6ffa30fb97fe54255a3fe /tests/test_handlers.py | |
parent | 0a69c494ed3f92c9527cb5420a879ba272ae01cb (diff) | |
parent | 94a83e81638064e6d70fafe02a9b14b8866635e3 (diff) | |
download | mailman2-ef630eaf5b387fcf928490d0c80c49403444d55b.tar.gz mailman2-ef630eaf5b387fcf928490d0c80c49403444d55b.tar.xz mailman2-ef630eaf5b387fcf928490d0c80c49403444d55b.zip |
Merge lp:mailman/2.1 up to rev 1696
Diffstat (limited to 'tests/test_handlers.py')
-rw-r--r-- | tests/test_handlers.py | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/tests/test_handlers.py b/tests/test_handlers.py index 049ac35e..878fd84a 100644 --- a/tests/test_handlers.py +++ b/tests/test_handlers.py @@ -886,7 +886,8 @@ Here is a message. self.assertEqual(msg.get_payload(), """\ header Here is a message. -footer""") +footer +""") def test_no_multipart_template(self): mlist = self._mlist @@ -902,7 +903,8 @@ Here is a message. self.assertEqual(msg.get_payload(), """\ XTest header Here is a message. -XTest footer""") +XTest footer +""") def test_no_multipart_type_error(self): mlist = self._mlist @@ -918,7 +920,8 @@ Here is a message. self.assertEqual(msg.get_payload(), """\ %(real_name) header Here is a message. -%(real_name) footer""") +%(real_name) footer +""") def test_no_multipart_value_error(self): mlist = self._mlist @@ -935,7 +938,8 @@ Here is a message. self.assertEqual(msg.get_payload(), """\ %(real_name)p header Here is a message. -%(real_name)p footer""") +%(real_name)p footer +""") def test_no_multipart_missing_key(self): mlist = self._mlist @@ -950,7 +954,8 @@ Here is a message. self.assertEqual(msg.get_payload(), """\ %(spooge)s header Here is a message. -%(spooge)s footer""") +%(spooge)s footer +""") def test_multipart(self): eq = self.ndiffAssertEqual @@ -984,6 +989,7 @@ Content-Transfer-Encoding: 7bit Content-Disposition: inline header + --BOUNDARY From: aperson@dom.ain @@ -1001,6 +1007,7 @@ Content-Transfer-Encoding: 7bit Content-Disposition: inline footer + --BOUNDARY-- """) |