Commit ed1e08aa authored by Ivan Tyagov's avatar Ivan Tyagov

Adjust after API change

parent d72b505f
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <key> <string>_params</string> </key>
<value> <string></string> </value> <value> <string>*argument_list</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
...@@ -144,7 +144,7 @@ class Test(ERP5TypeTestCase): ...@@ -144,7 +144,7 @@ class Test(ERP5TypeTestCase):
# override DataStream_transformTail to actually do transformation on appenData # override DataStream_transformTail to actually do transformation on appenData
start = data_stream.getSize() start = data_stream.getSize()
script_id = 'DataStream_transformTail' script_id = 'DataStream_transformTail'
script_content_list = ['', """ script_content_list = ["*argument_list", """
# created by testWendelin.test_01_1_IngestionTail # created by testWendelin.test_01_1_IngestionTail
start = %s start = %s
end = %s end = %s
...@@ -154,7 +154,10 @@ context.activate().DataStream_readChunkListAndTransform( \ ...@@ -154,7 +154,10 @@ context.activate().DataStream_readChunkListAndTransform( \
%s, \ %s, \
transform_script_id = 'DataStream_copyCSVToDataArray', \ transform_script_id = 'DataStream_copyCSVToDataArray', \
data_array_reference=context.getReference())""" %(start, start + 10450, 10450)] data_array_reference=context.getReference())""" %(start, start + 10450, 10450)]
createZODBPythonScript(portal.portal_skins.custom, script_id, *script_content_list) createZODBPythonScript(
portal.portal_skins.custom,
script_id,
*script_content_list)
number_string_list = [] number_string_list = []
for my_list in list(chunks(range(10001, 200001), 10)): for my_list in list(chunks(range(10001, 200001), 10)):
......
...@@ -52,11 +52,11 @@ ...@@ -52,11 +52,11 @@
<string>W: 79, 4: Unused variable \'sklearn\' (unused-variable)</string> <string>W: 79, 4: Unused variable \'sklearn\' (unused-variable)</string>
<string>W: 98, 22: Unused variable \'data_supply\' (unused-variable)</string> <string>W: 98, 22: Unused variable \'data_supply\' (unused-variable)</string>
<string>W:138, 22: Unused variable \'data_supply\' (unused-variable)</string> <string>W:138, 22: Unused variable \'data_supply\' (unused-variable)</string>
<string>W:189, 8: Unused variable \'i\' (unused-variable)</string> <string>W:192, 8: Unused variable \'i\' (unused-variable)</string>
<string>W:138, 4: Unused variable \'ingestion_policy\' (unused-variable)</string> <string>W:138, 4: Unused variable \'ingestion_policy\' (unused-variable)</string>
<string>W:219, 4: Unused variable \'ingestion_policy\' (unused-variable)</string> <string>W:222, 4: Unused variable \'ingestion_policy\' (unused-variable)</string>
<string>W:219, 22: Unused variable \'data_supply\' (unused-variable)</string> <string>W:222, 22: Unused variable \'data_supply\' (unused-variable)</string>
<string>W:219, 48: Unused variable \'data_array\' (unused-variable)</string> <string>W:222, 48: Unused variable \'data_array\' (unused-variable)</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
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