Commit a5612a1f authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

modify tests following b4b5bcf8.

parent c8289d32
...@@ -129,7 +129,7 @@ class TestERP5WebWithCRM(ERP5TypeTestCase): ...@@ -129,7 +129,7 @@ class TestERP5WebWithCRM(ERP5TypeTestCase):
self.portal.portal_alarms.fetch_incoming_web_message_list.activeSense() self.portal.portal_alarms.fetch_incoming_web_message_list.activeSense()
transaction.commit() transaction.commit()
self.tic() self.tic()
self.assertEquals(event.getSimulationState(), 'acknowledged') self.assertEquals(event.getSimulationState(), 'delivered')
ticket = event.getFollowUpValue() ticket = event.getFollowUpValue()
self.assertTrue(ticket is not None) self.assertTrue(ticket is not None)
self.assertEquals(ticket.getSimulationState(), 'submitted') self.assertEquals(ticket.getSimulationState(), 'submitted')
...@@ -186,7 +186,7 @@ class TestERP5WebWithCRM(ERP5TypeTestCase): ...@@ -186,7 +186,7 @@ class TestERP5WebWithCRM(ERP5TypeTestCase):
self.portal.portal_alarms.fetch_incoming_web_message_list.activeSense() self.portal.portal_alarms.fetch_incoming_web_message_list.activeSense()
transaction.commit() transaction.commit()
self.tic() self.tic()
self.assertEquals(event.getSimulationState(), 'acknowledged') self.assertEquals(event.getSimulationState(), 'delivered')
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
......
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