Commit 7065fd3d authored by Yoshinori Okuji's avatar Yoshinori Okuji

GROUP BY has been removed, so getMessageList returns intuitively now.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13659 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0af85139
......@@ -1726,8 +1726,7 @@ class TestCMFActivity(ERP5TypeTestCase):
p.activate(activity="SQLDict").updateDesc()
get_transaction().commit()
# len is 1 because of group by
self.assertEqual(len(activity_tool.getMessageList()), 1)
self.assertEqual(len(activity_tool.getMessageList()), 10)
self.tic()
self.assertEqual(p.getDescription(), "a")
......@@ -1735,8 +1734,8 @@ class TestCMFActivity(ERP5TypeTestCase):
for i in xrange(10):
p.activate(activity="SQLDict").updateDesc()
get_transaction().commit()
# len is 1 because of group by
self.assertEqual(len(activity_tool.getMessageList()), 1)
self.assertEqual(len(activity_tool.getMessageList()), 10)
activity_tool.flush(p, invoke=0)
get_transaction().commit()
self.assertEqual(len(activity_tool.getMessageList()), 0)
......
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