Commit 5dfd43fe authored by Aurel's avatar Aurel Committed by Arnaud Fontaine

manage_delObject raise when no ids given

parent a3aecce2
...@@ -120,9 +120,11 @@ class TestInventory(TestOrderMixin, ERP5TypeTestCase): ...@@ -120,9 +120,11 @@ class TestInventory(TestOrderMixin, ERP5TypeTestCase):
folder.manage_delObjects(list(folder.objectIds())) folder.manage_delObjects(list(folder.objectIds()))
except BadRequest: except BadRequest:
pass pass
self.portal.portal_skins.custom.manage_delObjects( try:
list(self.portal.portal_skins.custom.objectIds())) self.portal.portal_skins.custom.manage_delObjects(
list(self.portal.portal_skins.custom.objectIds()))
except BadRequest:
pass
self.tic() self.tic()
def createCategory(self, parent, id_list): def createCategory(self, parent, id_list):
......
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