Commit dbb8b375 authored by Aurel's avatar Aurel

manage_delObject raise when no ids given

parent 95b1ccbb
...@@ -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
try:
self.portal.portal_skins.custom.manage_delObjects( self.portal.portal_skins.custom.manage_delObjects(
list(self.portal.portal_skins.custom.objectIds())) 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