Commit c5647118 authored by Jérome Perrin's avatar Jérome Perrin

trade_renderjs_ui_test: fix naming and enable coding style

parent bdd4d9b4
......@@ -21,7 +21,7 @@
</tr>
<tr>
<td>open</td>
<td>${base_url}/TradeRJSZuite_deleteData</td>
<td>${base_url}/Zuite_deleteDataForTradeRenderjsUi</td>
<td></td>
</tr>
<tr>
......@@ -42,7 +42,7 @@
</tr>
<tr>
<td>open</td>
<td>${base_url}/TradeRJSZuite_createSaleOrder</td>
<td>${base_url}/Zuite_createSaleOrderForTradeRenderjsUi</td>
<td></td>
</tr>
<tr>
......@@ -64,7 +64,7 @@
</tr>
<tr>
<td>open</td>
<td>${base_url}/TradeRJSZuite_createPackingList</td>
<td>${base_url}/Zuite_createPackingListForTradeRenderjsUi</td>
<td></td>
</tr>
<tr>
......
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>TradeRJSZuite_createSaleOrder</string> </value>
<value> <string>Zuite_createPackingListForTradeRenderjsUi</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -8,10 +8,9 @@ delivery_id = "erp5_trade_renderjs_ui_test_order"
source_value = portal.restrictedTraverse('organisation_module/erp5_trade_renderjs_ui_test_source_node')
destination_value = portal.restrictedTraverse('organisation_module/erp5_trade_renderjs_ui_test_destination_node')
specialise_value = portal.restrictedTraverse('business_process_module/erp5_trade_renderjs_ui_test_business_process')
resource_value = portal.restrictedTraverse('product_module/erp5_trade_renderjs_ui_test_product')
module = portal.getDefaultModule(delivery_portal_type)
delivery = module.newContent(
module.newContent(
portal_type=delivery_portal_type,
id=delivery_id,
title='%s_title' % delivery_id,
......
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>TradeRJSZuite_createPackingList</string> </value>
<value> <string>Zuite_createSaleOrderForTradeRenderjsUi</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -54,7 +54,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>TradeRJSZuite_deleteData</string> </value>
<value> <string>Zuite_deleteDataForTradeRenderjsUi</string> </value>
</item>
</dictionary>
</pickle>
......
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