Commit fbef3d9e authored by Romain Courteaud's avatar Romain Courteaud

[erp5_ui_test] Allow to directly create multiple lines

parent d7b7edcc
......@@ -11,7 +11,8 @@ for i in range(start, start + num):
if set_dates:
foo.setStartDate(DateTime(i, i, i))
if create_line:
foo.newContent()
for i in range(0, int(create_line)):
foo.newContent()
if big_category_related:
big_category = big_category_list[i %len(category_list)]
foo.setFooBigCategory(big_category)
......
......@@ -27,7 +27,7 @@
<tr><td>assertTextPresent</td>
<td>Created Successfully.</td><td></td></tr>
<tr><td>open</td>
<td>${base_url}/foo_module/FooModule_createObjects?start:int=4&amp;num:int=2&amp;create_line:bool=True</td><td></td></tr>
<td>${base_url}/foo_module/FooModule_createObjects?start:int=4&amp;num:int=2&amp;create_line:int=1</td><td></td></tr>
<tr><td>assertTextPresent</td>
<td>Created Successfully.</td><td></td></tr>
<tr><td>open</td>
......
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