Skip to content

Commit 76c355b

Browse files
author
Richard Jones
committed
removed file writing from tests.
1 parent f20dd7f commit 76c355b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

test/test_mailgw.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# but WITHOUT ANY WARRANTY; without even the implied warranty of
99
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1010
#
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 $
1212

1313
import unittest, cStringIO, tempfile, os, shutil, errno, imp, sys
1414

@@ -152,8 +152,6 @@ def testFollowup2(self):
152152
handler = self.instance.MailGW(self.instance, self.db)
153153
# TODO: fix the damn config - this is apalling
154154
handler.main(message)
155-
fname = 'fw2_%s.output'%self.count
156-
open(fname,"w").write(open(os.environ['SENDMAILDEBUG']).read())
157155
self.assertEqual(open(os.environ['SENDMAILDEBUG']).read(),
158156
159157
TO: [email protected], richard@test
@@ -188,6 +186,15 @@ def suite():
188186

189187
#
190188
# $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+
#
191198
# Revision 1.2 2002/01/11 23:22:29 richard
192199
# . #502437 ] rogue reactor and unittest
193200
# in short, the nosy reactor was modifying the nosy list. That code had

0 commit comments

Comments
 (0)