1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
From: =?utf-8?q?Pierre-Elliott_B=C3=A9cue?= <becue@crans.org>
Date: Wed, 3 Oct 2018 14:17:11 +0200
Subject: Skip the test_archive_message_unserializable
Forwarded: https://gitlab.com/mailman/mailman-hyperkitty/issues/17
The serialization succeeds in python3 so this test is not relevant.
---
mailman_hyperkitty/tests/test_archiver.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/mailman_hyperkitty/tests/test_archiver.py b/mailman_hyperkitty/tests/test_archiver.py
index 16d573b..9c76d29 100644
--- a/mailman_hyperkitty/tests/test_archiver.py
+++ b/mailman_hyperkitty/tests/test_archiver.py
@@ -27,7 +27,7 @@ import os
import tempfile
import shutil
from textwrap import dedent
-from unittest import TestCase
+from unittest import TestCase, skip
import requests
from mock import Mock, patch
@@ -345,6 +345,7 @@ class ArchiverTestCase(TestCase):
self.archiver._switchboard.queue_directory)), 1)
self.assertEqual(len(self.archiver._switchboard.files), 1)
+ @skip("The encoding doesn't fail in python3")
def test_archive_message_unserializable(self):
msg = self._get_msg()
msg["content-type"] = 'text/plain; charset="UTF-8"'
|