Commit 28284adb authored by Nicolas Dumazet's avatar Nicolas Dumazet

verbose assertion errors

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42867 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b3ec3c4a
......@@ -102,7 +102,8 @@ class PropertySheetTestCase(ERP5TypeTestCase):
if "\n" in property_id:
raise ValueError("Please update this test to use ZODB property sheets")
self.assertTrue('portal_type' in kw)
self.assertTrue('portal_type' in kw, "You need to specify the portal_type"
" you want to use to create that new property")
property = getattr(ps, property_id, None)
if property is not None:
ps._delObject(property_id)
......
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