Mercurial > p > roundup > code
comparison test/test_mailgw.py @ 1793:dbe541c1aa39
Oops, forgot to run all tests. Fixed.
| author | Johannes Gijsbers <jlgijsbers@users.sourceforge.net> |
|---|---|
| date | Sat, 06 Sep 2003 10:37:11 +0000 |
| parents | 2cd528577108 |
| children | 08b013acfec8 |
comparison
equal
deleted
inserted
replaced
| 1792:2cd528577108 | 1793:dbe541c1aa39 |
|---|---|
| 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.47 2003-09-06 10:21:03 jlgijsbers Exp $ | 11 # $Id: test_mailgw.py,v 1.48 2003-09-06 10:37:10 jlgijsbers Exp $ |
| 12 | 12 |
| 13 import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys, difflib | 13 import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys, difflib |
| 14 import rfc822 | 14 import rfc822 |
| 15 | 15 |
| 16 # Note: Should parse emails according to RFC2822 instead of performing a | 16 # Note: Should parse emails according to RFC2822 instead of performing a |
| 980 self.db.user.lookup('johannes') | 980 self.db.user.lookup('johannes') |
| 981 | 981 |
| 982 def suite(): | 982 def suite(): |
| 983 l = [unittest.makeSuite(MailgwTestCase), | 983 l = [unittest.makeSuite(MailgwTestCase), |
| 984 ] | 984 ] |
| 985 l = [MailgwTestCase("testRegistrationConfirmation")] | |
| 986 return unittest.TestSuite(l) | 985 return unittest.TestSuite(l) |
| 987 | 986 |
| 988 | 987 |
| 989 # vim: set filetype=python ts=4 sw=4 et si | 988 # vim: set filetype=python ts=4 sw=4 et si |
