Commit 469350af authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use objectValues instead of searchFolder so that we don't need to wait for tic...

use objectValues instead of searchFolder so that we don't need to wait for tic in tests. this change will fix the current failure of testPlanningBox.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31658 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 844918e8
......@@ -54,7 +54,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>""" This script is used initially by PlanningBox tests currently"""\n
for i in context.searchFolder():\n
for i in context.objectValues():\n
i.setStartDate(DateTime(DateTime().strftime("%Y/%m/%d"))+0.4)\n
i.setStopDate(DateTime(DateTime().strftime("%Y/%m/%d"))+0.8)\n
i.newContent(id = str(0), title = \'Title 4\', portal_type=\'Foo Line\' )\n
......
523
\ No newline at end of file
524
\ No newline at end of file
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