Commit 66ada6e5 authored by Jérome Perrin's avatar Jérome Perrin

revert r30956 because r30953 has been reverted as well


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30968 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 621ce4b8
...@@ -604,10 +604,12 @@ class TestPropertySheet: ...@@ -604,10 +604,12 @@ class TestPropertySheet:
) )
""" """
# We check that we raise exception when we associate the property sheet self._addPropertySheet('Organisation', property_sheet_code=text)
folder = self.getOrganisationModule()
# We check that we raise exception when we create new object
from Products.ERP5Type.Utils import ConstraintNotFound from Products.ERP5Type.Utils import ConstraintNotFound
self.assertRaises(ConstraintNotFound, self._addPropertySheet, organisation = self.assertRaises(ConstraintNotFound, folder.newContent,
'Organisation', property_sheet_code=text) portal_type='Organisation')
def test_11_valueAccessor(self, quiet=quiet, run=run_all_test): def test_11_valueAccessor(self, quiet=quiet, run=run_all_test):
""" """
......
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