comparison test/test_mailgw.py @ 4343:7a0fe3cff4de

fix test
author Richard Jones <richard@users.sourceforge.net>
date Tue, 02 Feb 2010 04:59:20 +0000
parents 94c992852f12
children 23bf9290140a
comparison
equal deleted inserted replaced
4342:94c992852f12 4343:7a0fe3cff4de
180 Subject: [issue] Testing... 180 Subject: [issue] Testing...
181 181
182 From here to there! 182 From here to there!
183 ''') 183 ''')
184 assert not os.path.exists(SENDMAILDEBUG) 184 assert not os.path.exists(SENDMAILDEBUG)
185 msgid = self.db.issue.get(nodeid, 'msg')[0] 185 msgid = self.db.issue.get(nodeid, 'messages')[0]
186 self.assertEqual(self.db.issue.get(msgid, 'content'), 'From here to there!') 186 self.assertEqual(self.db.msg.get(msgid, 'content'), 'From here to there!')
187 187
188 def doNewIssue(self): 188 def doNewIssue(self):
189 nodeid = self._handle_mail('''Content-Type: text/plain; 189 nodeid = self._handle_mail('''Content-Type: text/plain;
190 charset="iso-8859-1" 190 charset="iso-8859-1"
191 From: Chef <chef@bork.bork.bork> 191 From: Chef <chef@bork.bork.bork>

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