Skip to content

Commit f11518c

Browse files
author
Richard Jones
committed
added test to confirm behaviour of summary generation from quoted-only email
1 parent ad4560b commit f11518c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/test_mailsplit.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: test_mailsplit.py,v 1.12 2002-10-18 03:34:58 richard Exp $
18+
# $Id: test_mailsplit.py,v 1.13 2003-09-30 23:55:54 richard Exp $
1919

2020
import unittest, cStringIO
2121

@@ -167,6 +167,11 @@ def testKeepBody(self):
167167
168168
''')
169169

170+
def testAllQuoted(self):
171+
s = '\n[email protected] wrote:\n> testing\n'
172+
summary, content = parseContent(s, 0, 1)
173+
self.assertEqual(summary, '')
174+
self.assertEqual(content, s)
170175

171176
def testSimple(self):
172177
s = '''testing'''

0 commit comments

Comments
 (0)