Commit 6570721b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

modify the test to follow the change of...

modify the test to follow the change of 6f3992d5 and 5ac7ee53.
parent bd734d65
No related merge requests found
...@@ -216,7 +216,7 @@ class TestBug(ERP5TypeTestCase): ...@@ -216,7 +216,7 @@ class TestBug(ERP5TypeTestCase):
last_message = self.portal.MailHost._last_message last_message = self.portal.MailHost._last_message
self.assertNotEquals((), last_message) self.assertNotEquals((), last_message)
mfrom, mto, messageText = last_message mfrom, mto, messageText = last_message
self.assertEquals('"dummy" <loggedperson@localhost>', mfrom) self.assertEquals('dummy <loggedperson@localhost>', mfrom)
self.assertEquals(['person1@localhost'], mto) self.assertEquals(['person1@localhost'], mto)
self.failUnless(bug.getTitle().replace(" ", "_") in messageText) self.failUnless(bug.getTitle().replace(" ", "_") in messageText)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment