|
8 | 8 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
9 | 9 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
10 | 10 | # |
11 | | -# $Id: test_mailgw.py,v 1.92 2007-11-14 16:19:41 schlatterbeck Exp $ |
| 11 | +# $Id: test_mailgw.py,v 1.93 2008-02-07 03:55:14 richard Exp $ |
12 | 12 |
|
13 | 13 | # TODO: test bcc |
14 | 14 |
|
@@ -50,8 +50,9 @@ def compareMessages(self, new, old): |
50 | 50 | if new[key] != __version__: |
51 | 51 | res.append(' %s: %s != %s' % (key, __version__, |
52 | 52 | new[key])) |
53 | | - elif new[key] != old[key]: |
54 | | - res.append(' %s: %s != %s' % (key, old[key], new[key])) |
| 53 | + elif new.get(key, '') != old.get(key, ''): |
| 54 | + res.append(' %s: %s != %s' % (key, old.get(key, ''), |
| 55 | + new.get(key, ''))) |
55 | 56 |
|
56 | 57 | body_diff = self.compareStrings(new.fp.read(), old.fp.read()) |
57 | 58 | if body_diff: |
@@ -238,6 +239,7 @@ def testNewIssueAuthMsg(self): |
238 | 239 | Message-Id: <dummy_test_message_id> |
239 | 240 | X-Roundup-Name: Roundup issue tracker |
240 | 241 | X-Roundup-Loop: hello |
| 242 | +X-Roundup-Issue-Status: unread |
241 | 243 | Content-Transfer-Encoding: quoted-printable |
242 | 244 |
|
243 | 245 |
|
@@ -281,6 +283,7 @@ def testNewIssueNoAuthorInfo(self): |
281 | 283 | Message-Id: <dummy_test_message_id> |
282 | 284 | X-Roundup-Name: Roundup issue tracker |
283 | 285 | X-Roundup-Loop: hello |
| 286 | +X-Roundup-Issue-Status: unread |
284 | 287 | Content-Transfer-Encoding: quoted-printable |
285 | 288 |
|
286 | 289 | This is a test submission of a new issue. |
@@ -321,6 +324,7 @@ def testNewIssueNoAuthorEmail(self): |
321 | 324 | Message-Id: <dummy_test_message_id> |
322 | 325 | X-Roundup-Name: Roundup issue tracker |
323 | 326 | X-Roundup-Loop: hello |
| 327 | +X-Roundup-Issue-Status: unread |
324 | 328 | Content-Transfer-Encoding: quoted-printable |
325 | 329 |
|
326 | 330 | New submission from Bork, Chef: |
@@ -466,6 +470,7 @@ def testSimpleFollowup(self): |
466 | 470 | In-Reply-To: <dummy_test_message_id> |
467 | 471 | X-Roundup-Name: Roundup issue tracker |
468 | 472 | X-Roundup-Loop: hello |
| 473 | +X-Roundup-Issue-Status: chatting |
469 | 474 | Content-Transfer-Encoding: quoted-printable |
470 | 475 |
|
471 | 476 |
|
@@ -513,6 +518,7 @@ def testFollowup(self): |
513 | 518 | In-Reply-To: <dummy_test_message_id> |
514 | 519 | X-Roundup-Name: Roundup issue tracker |
515 | 520 | X-Roundup-Loop: hello |
| 521 | +X-Roundup-Issue-Status: chatting |
516 | 522 | Content-Transfer-Encoding: quoted-printable |
517 | 523 |
|
518 | 524 |
|
@@ -556,6 +562,7 @@ def testPropertyChangeOnly(self): |
556 | 562 | From: "Bork, Chef" <[email protected]> |
557 | 563 | X-Roundup-Name: Roundup issue tracker |
558 | 564 | X-Roundup-Loop: hello |
| 565 | +X-Roundup-Issue-Status: unread |
559 | 566 | X-Roundup-Version: 1.3.3 |
560 | 567 | MIME-Version: 1.0 |
561 | 568 | Reply-To: Roundup issue tracker <[email protected]> |
@@ -602,6 +609,7 @@ def testFollowupTitleMatch(self): |
602 | 609 | In-Reply-To: <dummy_test_message_id> |
603 | 610 | X-Roundup-Name: Roundup issue tracker |
604 | 611 | X-Roundup-Loop: hello |
| 612 | +X-Roundup-Issue-Status: chatting |
605 | 613 | Content-Transfer-Encoding: quoted-printable |
606 | 614 |
|
607 | 615 |
|
@@ -711,6 +719,7 @@ def testFollowupNosyAuthor(self): |
711 | 719 | In-Reply-To: <dummy_test_message_id> |
712 | 720 | X-Roundup-Name: Roundup issue tracker |
713 | 721 | X-Roundup-Loop: hello |
| 722 | +X-Roundup-Issue-Status: chatting |
714 | 723 | Content-Transfer-Encoding: quoted-printable |
715 | 724 |
|
716 | 725 |
|
@@ -756,6 +765,7 @@ def testFollowupNosyRecipients(self): |
756 | 765 | In-Reply-To: <dummy_test_message_id> |
757 | 766 | X-Roundup-Name: Roundup issue tracker |
758 | 767 | X-Roundup-Loop: hello |
| 768 | +X-Roundup-Issue-Status: chatting |
759 | 769 | Content-Transfer-Encoding: quoted-printable |
760 | 770 |
|
761 | 771 |
|
@@ -801,6 +811,7 @@ def testFollowupNosyAuthorAndCopy(self): |
801 | 811 | In-Reply-To: <dummy_test_message_id> |
802 | 812 | X-Roundup-Name: Roundup issue tracker |
803 | 813 | X-Roundup-Loop: hello |
| 814 | +X-Roundup-Issue-Status: chatting |
804 | 815 | Content-Transfer-Encoding: quoted-printable |
805 | 816 |
|
806 | 817 |
|
@@ -845,6 +856,7 @@ def testFollowupNoNosyAuthor(self): |
845 | 856 | In-Reply-To: <dummy_test_message_id> |
846 | 857 | X-Roundup-Name: Roundup issue tracker |
847 | 858 | X-Roundup-Loop: hello |
| 859 | +X-Roundup-Issue-Status: chatting |
848 | 860 | Content-Transfer-Encoding: quoted-printable |
849 | 861 |
|
850 | 862 |
|
@@ -889,6 +901,7 @@ def testFollowupNoNosyRecipients(self): |
889 | 901 | In-Reply-To: <dummy_test_message_id> |
890 | 902 | X-Roundup-Name: Roundup issue tracker |
891 | 903 | X-Roundup-Loop: hello |
| 904 | +X-Roundup-Issue-Status: chatting |
892 | 905 | Content-Transfer-Encoding: quoted-printable |
893 | 906 |
|
894 | 907 |
|
@@ -1069,6 +1082,7 @@ def testEnc01(self): |
1069 | 1082 | In-Reply-To: <dummy_test_message_id> |
1070 | 1083 | X-Roundup-Name: Roundup issue tracker |
1071 | 1084 | X-Roundup-Loop: hello |
| 1085 | +X-Roundup-Issue-Status: chatting |
1072 | 1086 | Content-Transfer-Encoding: quoted-printable |
1073 | 1087 |
|
1074 | 1088 |
|
@@ -1122,6 +1136,7 @@ def testMultipartEnc01(self): |
1122 | 1136 | In-Reply-To: <dummy_test_message_id> |
1123 | 1137 | X-Roundup-Name: Roundup issue tracker |
1124 | 1138 | X-Roundup-Loop: hello |
| 1139 | +X-Roundup-Issue-Status: chatting |
1125 | 1140 | Content-Transfer-Encoding: quoted-printable |
1126 | 1141 |
|
1127 | 1142 |
|
@@ -1198,6 +1213,7 @@ def testFollowupStupidQuoting(self): |
1198 | 1213 | In-Reply-To: <dummy_test_message_id> |
1199 | 1214 | X-Roundup-Name: Roundup issue tracker |
1200 | 1215 | X-Roundup-Loop: hello |
| 1216 | +X-Roundup-Issue-Status: chatting |
1201 | 1217 | Content-Transfer-Encoding: quoted-printable |
1202 | 1218 |
|
1203 | 1219 |
|
|
0 commit comments