From: richard Date: Tue, 2 Feb 2010 04:59:20 +0000 (+0000) Subject: fix test X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3ccef2e446cbfa12748319b2bb09f27dc48296f4;p=roundup.git fix test git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4447 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/test/test_mailgw.py b/test/test_mailgw.py index e15e292..ca3419f 100644 --- a/test/test_mailgw.py +++ b/test/test_mailgw.py @@ -182,8 +182,8 @@ Subject: [issue] Testing... From here to there! ''') assert not os.path.exists(SENDMAILDEBUG) - msgid = self.db.issue.get(nodeid, 'msg')[0] - self.assertEqual(self.db.issue.get(msgid, 'content'), 'From here to there!') + msgid = self.db.issue.get(nodeid, 'messages')[0] + self.assertEqual(self.db.msg.get(msgid, 'content'), 'From here to there!') def doNewIssue(self): nodeid = self._handle_mail('''Content-Type: text/plain;