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):
folder.manage_delObjects(list(folder.objectIds()))
except BadRequest:
pass
self.portal.portal_skins.custom.manage_delObjects(
list(self.portal.portal_skins.custom.objectIds()))
try:
self.portal.portal_skins.custom.manage_delObjects(
list(self.portal.portal_skins.custom.objectIds()))
except BadRequest:
pass
self.tic()
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