From: richard Date: Tue, 30 Sep 2003 23:55:54 +0000 (+0000) Subject: added test to confirm behaviour of summary generation from quoted-only email X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2dd09271e7e8f097084f95882e9881d352182f22;p=roundup.git added test to confirm behaviour of summary generation from quoted-only email git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1889 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/test/test_mailsplit.py b/test/test_mailsplit.py index f4cef60..1eda501 100644 --- a/test/test_mailsplit.py +++ b/test/test_mailsplit.py @@ -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 @@ blah blah blah signature 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'''