Skip to content

Commit 20eb040

Browse files
author
Richard Jones
committed
fix test
1 parent 45130c9 commit 20eb040

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_mailgw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ def testMessageWithFromInIt(self):
182182
From here to there!
183183
''')
184184
assert not os.path.exists(SENDMAILDEBUG)
185-
msgid = self.db.issue.get(nodeid, 'msg')[0]
186-
self.assertEqual(self.db.issue.get(msgid, 'content'), 'From here to there!')
185+
msgid = self.db.issue.get(nodeid, 'messages')[0]
186+
self.assertEqual(self.db.msg.get(msgid, 'content'), 'From here to there!')
187187

188188
def doNewIssue(self):
189189
nodeid = self._handle_mail('''Content-Type: text/plain;

0 commit comments

Comments
 (0)