Commit 36f8654c authored by Sebastien Robin's avatar Sebastien Robin

I had to rebuild erp5_common.zexp after a change in Business Templates.

I also added a comment in testERP5Type.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@393 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4db74aeb
......@@ -69,6 +69,10 @@ class TestERP5Type(ERP5TypeTestCase):
portal_templates = self.getTemplateTool()
new_id = portal_templates.generateNewId()
#bt = self.getTemplateTool().newContent(portal_type="Business Template") # Fails Why ?
# may be because there is
# no "Business Template"
# in portal_types, it may
# be added to erp5_common
addBusinessTemplate(portal_templates, new_id)
business_template = getattr(portal_templates, new_id)
self.failUnless(business_template.getPortalType() == 'Business Template')
......@@ -85,4 +89,4 @@ else:
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestERP5Type))
return suite
\ No newline at end of file
return suite
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