Commit b8833063 authored by Douglas's avatar Douglas Committed by Ivan Tyagov

wendelin_inventory: test fixup

@Tyagov this fixed the test suite error, sorry. 

/reviewed-on !16
parent c42657c6
......@@ -165,7 +165,7 @@ class PandasInventoryTest(ERP5TypeTestCase):
transaction.commit()
self.tic()
array = self.portal.Base_fillPandasInventoryCategoryList(
self.portal.Base_fillPandasInventoryCategoryList(
'TestingImportCategoryInformation',
verbose=False,
duplicate_category=False
......@@ -174,6 +174,10 @@ class PandasInventoryTest(ERP5TypeTestCase):
transaction.commit()
self.tic()
array = self.portal.portal_catalog(
reference='TestingImportCategoryInformation',
portal_type='Data Array'
)[0].getObject().getArray()
resource_category_array = array[:][['resource_category']]
self.assertTrue(all([item != '' for item in resource_category_array]))
......
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