summaryrefslogtreecommitdiff
path: root/tests/db/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/db/test_utils.py')
-rw-r--r--tests/db/test_utils.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/db/test_utils.py b/tests/db/test_utils.py
index f6249542..1e230aef 100644
--- a/tests/db/test_utils.py
+++ b/tests/db/test_utils.py
@@ -272,6 +272,12 @@ class TestDecodeHeader(unittest.TestCase):
expected = u'first\nsecond third fourth fifth'
actual = utils.decode_header(text, normalize=True)
self.assertEqual(actual, expected)
+
+ def test_exchange_quotes_remain(self):
+ # issue #1347
+ expected = u'"Mouse, Michaƫl" <x@y.z>'
+ text = self._quote(expected, 'utf-8')
+ self._test(text, expected)
class TestAddSignatureHeaders(unittest.TestCase):