Mercurial > p > roundup > code
diff test/test_mailsplit.py @ 1822:7e32c7663781
added test to confirm behaviour of summary generation from quoted-only email
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 30 Sep 2003 23:55:54 +0000 |
| parents | bf8b2380adb3 |
| children | 3260268e45d2 |
line wrap: on
line diff
--- a/test/test_mailsplit.py Wed Sep 24 14:54:23 2003 +0000 +++ b/test/test_mailsplit.py Tue Sep 30 23:55:54 2003 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: test_mailsplit.py,v 1.12 2002-10-18 03:34:58 richard Exp $ +# $Id: test_mailsplit.py,v 1.13 2003-09-30 23:55:54 richard Exp $ import unittest, cStringIO @@ -167,6 +167,11 @@ userfoo@foo.com ''') + def testAllQuoted(self): + s = '\nissue_tracker@foo.com wrote:\n> testing\n' + summary, content = parseContent(s, 0, 1) + self.assertEqual(summary, '') + self.assertEqual(content, s) def testSimple(self): s = '''testing'''
