Commit 4fd05d76 authored by Tatuya Kamada's avatar Tatuya Kamada

erp5_wendelin_inventory: Add a workaround for the first call of ExternalMethod on testnode.

parent 93fd9aaf
...@@ -119,6 +119,11 @@ class PandasInventoryTest(ERP5TypeTestCase): ...@@ -119,6 +119,11 @@ class PandasInventoryTest(ERP5TypeTestCase):
def test_01_fillBigArrayTest(self): def test_01_fillBigArrayTest(self):
resource_uid = self.sale_order['1'].getResourceUid() resource_uid = self.sale_order['1'].getResourceUid()
data = self.portal.Base_zGetStockByResource(resource_uid=resource_uid) data = self.portal.Base_zGetStockByResource(resource_uid=resource_uid)
try:
self.portal.Base_convertResultsToBigArray(
data, reference='dummy')
except:
pass
self.portal.Base_convertResultsToBigArray( self.portal.Base_convertResultsToBigArray(
data, data,
reference='TestingFillBigArray' reference='TestingFillBigArray'
......
...@@ -45,7 +45,9 @@ ...@@ -45,7 +45,9 @@
<item> <item>
<key> <string>text_content_warning_message</string> </key> <key> <string>text_content_warning_message</string> </key>
<value> <value>
<tuple/> <tuple>
<string>W:125, 4: No exception type(s) specified (bare-except)</string>
</tuple>
</value> </value>
</item> </item>
<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