|
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.3 2002-01-14 02:20:15 richard Exp $ |
| 11 | +# $Id: test_mailgw.py,v 1.4 2002-01-14 07:12:15 richard Exp $ |
12 | 12 |
|
13 | 13 | import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys |
14 | 14 |
|
@@ -152,8 +152,6 @@ def testFollowup2(self): |
152 | 152 | handler = self.instance.MailGW(self.instance, self.db) |
153 | 153 | # TODO: fix the damn config - this is apalling |
154 | 154 | handler.main(message) |
155 | | - fname = 'fw2_%s.output'%self.count |
156 | | - open(fname,"w").write(open(os.environ['SENDMAILDEBUG']).read()) |
157 | 155 | self.assertEqual(open(os.environ['SENDMAILDEBUG']).read(), |
158 | 156 | |
159 | 157 | TO: [email protected], richard@test |
@@ -188,6 +186,15 @@ def suite(): |
188 | 186 |
|
189 | 187 | # |
190 | 188 | # $Log: not supported by cvs2svn $ |
| 189 | +# Revision 1.3 2002/01/14 02:20:15 richard |
| 190 | +# . changed all config accesses so they access either the instance or the |
| 191 | +# config attriubute on the db. This means that all config is obtained from |
| 192 | +# instance_config instead of the mish-mash of classes. This will make |
| 193 | +# switching to a ConfigParser setup easier too, I hope. |
| 194 | +# |
| 195 | +# At a minimum, this makes migration a _little_ easier (a lot easier in the |
| 196 | +# 0.5.0 switch, I hope!) |
| 197 | +# |
191 | 198 | # Revision 1.2 2002/01/11 23:22:29 richard |
192 | 199 | # . #502437 ] rogue reactor and unittest |
193 | 200 | # in short, the nosy reactor was modifying the nosy list. That code had |
|
0 commit comments