comparison test/test_mailgw.py @ 2098:18addf2a8596

Implemented proper datatypes in mysql and postgresql backends... ...(well, sqlite too, but that doesn't care). Probably should use BOOLEAN instead of INTEGER for the Boolean props. Need to fix a bizzaro MySQL error (gee, how unusual) Need to finish MySQL migration from "version 1" database schemas.
author Richard Jones <richard@users.sourceforge.net>
date Mon, 22 Mar 2004 07:45:40 +0000
parents 93f03c6714d8
children aed7a7c54a50
comparison
equal deleted inserted replaced
2097:37ede7c5f5c5 2098:18addf2a8596
6 # 6 #
7 # This module is distributed in the hope that it will be useful, 7 # This module is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of 8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 # 10 #
11 # $Id: test_mailgw.py,v 1.65 2004-03-19 04:47:59 richard Exp $ 11 # $Id: test_mailgw.py,v 1.66 2004-03-22 07:45:40 richard Exp $
12 12
13 import unittest, tempfile, os, shutil, errno, imp, sys, difflib, rfc822 13 import unittest, tempfile, os, shutil, errno, imp, sys, difflib, rfc822
14 14
15 from cStringIO import StringIO 15 from cStringIO import StringIO
16 16
252 assignedto: richard 252 assignedto: richard
253 messages: 1 253 messages: 1
254 nosy: Chef, mary, richard 254 nosy: Chef, mary, richard
255 status: unread 255 status: unread
256 title: Testing... 256 title: Testing...
257
257 _______________________________________________________________________ 258 _______________________________________________________________________
258 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 259 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
259 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 260 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
260 _______________________________________________________________________ 261 _______________________________________________________________________
261 ''') 262 ''')
301 302
302 This is a second followup 303 This is a second followup
303 304
304 ---------- 305 ----------
305 status: unread -> chatting 306 status: unread -> chatting
307
306 _______________________________________________________________________ 308 _______________________________________________________________________
307 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 309 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
308 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 310 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
309 _______________________________________________________________________ 311 _______________________________________________________________________
310 ''') 312 ''')
349 351
350 ---------- 352 ----------
351 assignedto: -> mary 353 assignedto: -> mary
352 nosy: +john, mary 354 nosy: +john, mary
353 status: unread -> chatting 355 status: unread -> chatting
356
354 _______________________________________________________________________ 357 _______________________________________________________________________
355 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 358 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
356 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 359 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
357 _______________________________________________________________________ 360 _______________________________________________________________________
358 ''') 361 ''')
391 394
392 ---------- 395 ----------
393 assignedto: -> mary 396 assignedto: -> mary
394 nosy: +john, mary 397 nosy: +john, mary
395 status: unread -> chatting 398 status: unread -> chatting
399
396 _______________________________________________________________________ 400 _______________________________________________________________________
397 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 401 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
398 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 402 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
399 _______________________________________________________________________ 403 _______________________________________________________________________
400 ''') 404 ''')
434 This is a followup 438 This is a followup
435 439
436 ---------- 440 ----------
437 nosy: +john 441 nosy: +john
438 status: unread -> chatting 442 status: unread -> chatting
443
439 _______________________________________________________________________ 444 _______________________________________________________________________
440 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 445 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
441 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 446 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
442 _______________________________________________________________________ 447 _______________________________________________________________________
443 448
478 This is a followup 483 This is a followup
479 484
480 ---------- 485 ----------
481 nosy: +john 486 nosy: +john
482 status: unread -> chatting 487 status: unread -> chatting
488
483 _______________________________________________________________________ 489 _______________________________________________________________________
484 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 490 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
485 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 491 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
486 _______________________________________________________________________ 492 _______________________________________________________________________
487 493
522 This is a followup 528 This is a followup
523 529
524 ---------- 530 ----------
525 nosy: +john 531 nosy: +john
526 status: unread -> chatting 532 status: unread -> chatting
533
527 _______________________________________________________________________ 534 _______________________________________________________________________
528 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 535 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
529 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 536 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
530 _______________________________________________________________________ 537 _______________________________________________________________________
531 538
564 571
565 This is a followup 572 This is a followup
566 573
567 ---------- 574 ----------
568 status: unread -> chatting 575 status: unread -> chatting
576
569 _______________________________________________________________________ 577 _______________________________________________________________________
570 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 578 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
571 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 579 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
572 _______________________________________________________________________ 580 _______________________________________________________________________
573 581
607 615
608 This is a followup 616 This is a followup
609 617
610 ---------- 618 ----------
611 status: unread -> chatting 619 status: unread -> chatting
620
612 _______________________________________________________________________ 621 _______________________________________________________________________
613 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 622 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
614 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 623 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
615 _______________________________________________________________________ 624 _______________________________________________________________________
616 625
723 732
724 A message with encoding (encoded oe =C3=B6) 733 A message with encoding (encoded oe =C3=B6)
725 734
726 ---------- 735 ----------
727 status: unread -> chatting 736 status: unread -> chatting
737
728 _______________________________________________________________________ 738 _______________________________________________________________________
729 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 739 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
730 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 740 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
731 _______________________________________________________________________ 741 _______________________________________________________________________
732 ''') 742 ''')
775 785
776 A message with first part encoded (encoded oe =C3=B6) 786 A message with first part encoded (encoded oe =C3=B6)
777 787
778 ---------- 788 ----------
779 status: unread -> chatting 789 status: unread -> chatting
790
780 _______________________________________________________________________ 791 _______________________________________________________________________
781 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 792 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
782 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 793 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
783 _______________________________________________________________________ 794 _______________________________________________________________________
784 ''') 795 ''')
848 859
849 This is a followup 860 This is a followup
850 861
851 ---------- 862 ----------
852 status: unread -> chatting 863 status: unread -> chatting
864
853 _______________________________________________________________________ 865 _______________________________________________________________________
854 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example> 866 Roundup issue tracker <issue_tracker@your.tracker.email.domain.example>
855 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1> 867 <http://tracker.example/cgi-bin/roundup.cgi/bugs/issue1>
856 _______________________________________________________________________ 868 _______________________________________________________________________
857 ''') 869 ''')

Roundup Issue Tracker: http://roundup-tracker.org/