Mercurial > p > roundup > code
annotate test/test_mailsplit.py @ 718:e10c37f53efd
fixed SCRIPT_NAME in ZRoundup for instances not at top level of Zope
(thanks dman)
fixed some sorting issues that were breaking some unit tests under py2.2
mailgw test output dir was confusing the init test (but only on 2.2 *shrug*)
fixed bug in the init unit test that meant only the bsddb test ran if it
could (it clobbered the anydbm test)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 15 May 2002 03:27:16 +0000 |
| parents | d524e5b52061 |
| children | 9b910e8d987d |
| rev | line source |
|---|---|
|
213
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
1 # |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
2 # Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/) |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
3 # This module is free software, and you may redistribute it and/or modify |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
4 # under the same terms as Python, so long as this copyright message and |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
5 # disclaimer are retained in their original form. |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
6 # |
| 214 | 7 # IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR |
|
213
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
8 # DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
9 # OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
10 # POSSIBILITY OF SUCH DAMAGE. |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
11 # |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
12 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
17 # |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
18 # $Id: test_mailsplit.py,v 1.10 2002-04-23 16:18:18 rochecompaan Exp $ |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
19 |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
20 import unittest, cStringIO |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
21 |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
22 from roundup.mailgw import parseContent |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
23 |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
24 class MailsplitTestCase(unittest.TestCase): |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
25 def testPreComment(self): |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
26 s = ''' |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
27 blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
28 blah blah blah blah blah blah blah blah blah blah blah! |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
29 |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
30 issue_tracker@foo.com wrote: |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
31 > blah blah blah blahblah blahblah blahblah blah blah blah blah blah blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
32 > blah blah blah blah blah blah blah blah blah? blah blah blah blah blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
33 > blah blah blah blah blah blah blah... blah blah blah blah. blah blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
34 > blah blah blah blah? blah blah blah blah blah blah! blah blah! |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
35 > |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
36 > ------- |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
37 > nosy: userfoo, userken |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
38 > _________________________________________________ |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
39 > Roundup issue tracker |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
40 > issue_tracker@foo.com |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
41 > http://foo.com/cgi-bin/roundup.cgi/issue_tracker/ |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
42 |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
43 -- |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
44 blah blah blah signature |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
45 userfoo@foo.com |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
46 ''' |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
47 summary, content = parseContent(s, 0, 0) |
|
202
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
48 self.assertEqual(summary, 'blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah') |
|
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
49 self.assertEqual(content, 'blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah\nblah blah blah blah blah blah blah blah blah blah blah!') |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
50 |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
51 |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
52 def testPostComment(self): |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
53 s = ''' |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
54 issue_tracker@foo.com wrote: |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
55 > blah blah blah blahblah blahblah blahblah blah blah blah blah blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
56 > blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
57 > blah blah blah blah blah blah blah blah blah? blah blah blah blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
58 > blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
59 > blah blah blah blah blah blah blah... blah blah blah blah. blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
60 > blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
61 > blah blah blah blah? blah blah blah blah blah blah! blah blah! |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
62 > |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
63 > ------- |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
64 > nosy: userfoo, userken |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
65 > _________________________________________________ |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
66 > Roundup issue tracker |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
67 > issue_tracker@foo.com |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
68 > http://foo.com/cgi-bin/roundup.cgi/issue_tracker/ |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
69 |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
70 blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
71 blah blah blah blah blah blah blah blah blah blah blah! |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
72 |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
73 -- |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
74 blah blah blah signature |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
75 userfoo@foo.com |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
76 ''' |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
77 summary, content = parseContent(s, 0, 0) |
|
202
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
78 self.assertEqual(summary, 'blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah') |
|
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
79 self.assertEqual(content, 'blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah\nblah blah blah blah blah blah blah blah blah blah blah!') |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
80 |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
81 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
82 def testKeepCitation(self): |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
83 s = ''' |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
84 blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
85 blah blah blah blah blah blah blah blah blah blah blah! |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
86 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
87 issue_tracker@foo.com wrote: |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
88 > blah blah blah blahblah blahblah blahblah blah blah blah blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
89 > blah blah blah blah blah blah blah blah blah? blah blah blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
90 > blah blah blah blah blah blah blah... blah blah blah blah. blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
91 > blah blah blah blah? blah blah blah blah blah blah! blah blah! |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
92 > |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
93 > ------- |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
94 > nosy: userfoo, userken |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
95 > _________________________________________________ |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
96 > Roundup issue tracker |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
97 > issue_tracker@foo.com |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
98 > http://foo.com/cgi-bin/roundup.cgi/issue_tracker/ |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
99 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
100 -- |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
101 blah blah blah signature |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
102 userfoo@foo.com |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
103 ''' |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
104 summary, content = parseContent(s, 1, 0) |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
105 self.assertEqual(summary, 'blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah') |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
106 self.assertEqual(content, '''\ |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
107 blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
108 blah blah blah blah blah blah blah blah blah blah blah! |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
109 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
110 issue_tracker@foo.com wrote: |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
111 > blah blah blah blahblah blahblah blahblah blah blah blah blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
112 > blah blah blah blah blah blah blah blah blah? blah blah blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
113 > blah blah blah blah blah blah blah... blah blah blah blah. blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
114 > blah blah blah blah? blah blah blah blah blah blah! blah blah! |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
115 > |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
116 > ------- |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
117 > nosy: userfoo, userken |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
118 > _________________________________________________ |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
119 > Roundup issue tracker |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
120 > issue_tracker@foo.com |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
121 > http://foo.com/cgi-bin/roundup.cgi/issue_tracker/''') |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
122 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
123 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
124 def testKeepBody(self): |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
125 s = ''' |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
126 blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
127 blah blah blah blah blah blah blah blah blah blah blah! |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
128 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
129 issue_tracker@foo.com wrote: |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
130 > blah blah blah blahblah blahblah blahblah blah blah blah blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
131 > blah blah blah blah blah blah blah blah blah? blah blah blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
132 > blah blah blah blah blah blah blah... blah blah blah blah. blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
133 > blah blah blah blah? blah blah blah blah blah blah! blah blah! |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
134 > |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
135 > ------- |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
136 > nosy: userfoo, userken |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
137 > _________________________________________________ |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
138 > Roundup issue tracker |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
139 > issue_tracker@foo.com |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
140 > http://foo.com/cgi-bin/roundup.cgi/issue_tracker/ |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
141 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
142 -- |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
143 blah blah blah signature |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
144 userfoo@foo.com |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
145 ''' |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
146 summary, content = parseContent(s, 0, 1) |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
147 self.assertEqual(summary, 'blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah') |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
148 self.assertEqual(content, ''' |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
149 blah blah blah blah... blah blah? blah blah blah blah blah. blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
150 blah blah blah blah blah blah blah blah blah blah blah! |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
151 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
152 issue_tracker@foo.com wrote: |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
153 > blah blah blah blahblah blahblah blahblah blah blah blah blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
154 > blah blah blah blah blah blah blah blah blah? blah blah blah blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
155 > blah blah blah blah blah blah blah... blah blah blah blah. blah blah |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
156 > blah blah blah blah? blah blah blah blah blah blah! blah blah! |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
157 > |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
158 > ------- |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
159 > nosy: userfoo, userken |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
160 > _________________________________________________ |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
161 > Roundup issue tracker |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
162 > issue_tracker@foo.com |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
163 > http://foo.com/cgi-bin/roundup.cgi/issue_tracker/ |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
164 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
165 -- |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
166 blah blah blah signature |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
167 userfoo@foo.com |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
168 ''') |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
169 |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
170 |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
171 def testSimple(self): |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
172 s = '''testing''' |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
173 summary, content = parseContent(s, 0, 0) |
|
202
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
174 self.assertEqual(summary, 'testing') |
|
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
175 self.assertEqual(content, 'testing') |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
176 |
|
310
0ec8a9f1cbe6
[SF#473125]: Paragraph in e-mails
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
177 def testParagraphs(self): |
|
0ec8a9f1cbe6
[SF#473125]: Paragraph in e-mails
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
178 s = '''testing\n\ntesting\n\ntesting''' |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
179 summary, content = parseContent(s, 0, 0) |
|
310
0ec8a9f1cbe6
[SF#473125]: Paragraph in e-mails
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
180 self.assertEqual(summary, 'testing') |
|
0ec8a9f1cbe6
[SF#473125]: Paragraph in e-mails
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
181 self.assertEqual(content, 'testing\n\ntesting\n\ntesting') |
|
0ec8a9f1cbe6
[SF#473125]: Paragraph in e-mails
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
182 |
|
510
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
183 def testSimpleFollowup(self): |
|
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
184 s = '''>hello\ntesting''' |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
185 summary, content = parseContent(s, 0, 0) |
|
510
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
186 self.assertEqual(summary, 'testing') |
|
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
187 self.assertEqual(content, 'testing') |
|
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
188 |
|
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
189 def testSimpleFollowupParas(self): |
|
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
190 s = '''>hello\ntesting\n\ntesting\n\ntesting''' |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
191 summary, content = parseContent(s, 0, 0) |
|
510
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
192 self.assertEqual(summary, 'testing') |
|
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
193 self.assertEqual(content, 'testing\n\ntesting\n\ntesting') |
|
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
194 |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
195 def testEmpty(self): |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
196 s = '' |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
197 summary, content = parseContent(s, 0, 0) |
|
202
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
198 self.assertEqual(summary, '') |
|
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
199 self.assertEqual(content, '') |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
200 |
|
334
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
201 def testIndentationSummary(self): |
|
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
202 s = ' Four space indent.\n\n Four space indent.\nNo indent.' |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
203 summary, content = parseContent(s, 0, 0) |
|
334
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
204 self.assertEqual(summary, ' Four space indent.') |
|
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
205 |
|
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
206 def testIndentationContent(self): |
|
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
207 s = ' Four space indent.\n\n Four space indent.\nNo indent.' |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
208 summary, content = parseContent(s, 0, 0) |
|
334
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
209 self.assertEqual(content, s) |
|
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
210 |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
211 def suite(): |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
212 return unittest.makeSuite(MailsplitTestCase, 'test') |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
213 |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
214 |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
215 # |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
216 # $Log: not supported by cvs2svn $ |
|
695
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
217 # Revision 1.9 2002/01/10 06:19:20 richard |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
218 # followup lines directly after a quoted section were being eaten. |
|
d524e5b52061
Sorry, forgot to checkin modified unit tests...
Roche Compaan <rochecompaan@users.sourceforge.net>
parents:
510
diff
changeset
|
219 # |
|
510
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
220 # Revision 1.8 2001/10/28 23:22:28 richard |
|
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
221 # fixed bug #474749 ] Indentations lost |
|
3f6107488465
followup lines directly after a quoted section were being eaten.
Richard Jones <richard@users.sourceforge.net>
parents:
334
diff
changeset
|
222 # |
|
334
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
223 # Revision 1.7 2001/10/23 00:57:32 richard |
|
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
224 # Removed debug print from mailsplit test. |
|
256776bfdfc5
fixed [SF#474749] Indentations lost
Richard Jones <richard@users.sourceforge.net>
parents:
317
diff
changeset
|
225 # |
|
317
6ce3af6a08ca
Removed debug print from mailsplit test.
Richard Jones <richard@users.sourceforge.net>
parents:
310
diff
changeset
|
226 # Revision 1.6 2001/10/21 03:35:13 richard |
|
6ce3af6a08ca
Removed debug print from mailsplit test.
Richard Jones <richard@users.sourceforge.net>
parents:
310
diff
changeset
|
227 # bug #473125: Paragraph in e-mails |
|
6ce3af6a08ca
Removed debug print from mailsplit test.
Richard Jones <richard@users.sourceforge.net>
parents:
310
diff
changeset
|
228 # |
|
310
0ec8a9f1cbe6
[SF#473125]: Paragraph in e-mails
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
229 # Revision 1.5 2001/08/07 00:24:43 richard |
|
0ec8a9f1cbe6
[SF#473125]: Paragraph in e-mails
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
230 # stupid typo |
|
0ec8a9f1cbe6
[SF#473125]: Paragraph in e-mails
Richard Jones <richard@users.sourceforge.net>
parents:
214
diff
changeset
|
231 # |
| 214 | 232 # Revision 1.4 2001/08/07 00:15:51 richard |
| 233 # Added the copyright/license notice to (nearly) all files at request of | |
| 234 # Bizar Software. | |
| 235 # | |
|
213
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
236 # Revision 1.3 2001/08/05 07:06:25 richard |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
237 # removed some print statements |
|
d45384bc6420
Added the copyright/license notice to (nearly) all files...
Richard Jones <richard@users.sourceforge.net>
parents:
202
diff
changeset
|
238 # |
|
202
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
239 # Revision 1.2 2001/08/03 07:23:09 richard |
|
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
240 # er, removed the innocent from the the code :) |
|
d702ac2ceedb
removed some print statements
Richard Jones <richard@users.sourceforge.net>
parents:
200
diff
changeset
|
241 # |
|
200
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
242 # Revision 1.1 2001/08/03 07:18:22 richard |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
243 # Implemented correct mail splitting (was taking a shortcut). Added unit |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
244 # tests. Also snips signatures now too. |
|
89c47b5dadac
er, removed the innocent from the the code :)
Richard Jones <richard@users.sourceforge.net>
parents:
198
diff
changeset
|
245 # |
|
198
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
246 # |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
247 # |
|
eda506860b32
Implemented correct mail splitting (was taking a shortcut).
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
248 # vim: set filetype=python ts=4 sw=4 et si |
