Commit 09a03c0b authored by Douglas's avatar Douglas

wendelin_inventory: test fixup

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