Yup yup. I am starting to think that 'RichDocument' is perhaps not the right attribute for the RichDocument product, but if this is the case, where would I look to see what the correct attribute would be?
2008/10/29 Alexander Pilz <[EMAIL PROTECTED]> > Did your policy install the product in plone as well? > > > hannesc schrieb: > > Hey guys >> >> So I installed the RichDocument product, and when I check the products >> list >> in Zope, it shows up. The problem is that when I run one of my tests I get >> the following error: >> >> Error in test test_richdocument_renamed_to_page >> (optilux.policy.tests.test_setup.TestSetup) >> Traceback (most recent call last): >> File >> >> "/home/hannes/optilux/parts/zope2/lib/python/Testing/ZopeTestCase/profiler.py", >> line 98, in __call__ >> testMethod() >> File >> >> "/home/hannes/optilux/src/optilux.policy/optilux/policy/tests/test_setup.py", >> line 49, in test_richdocument_renamed_to_page >> rich_document_fti = getattr(self.types, 'RichDocument') >> AttributeError: RichDocument >> >> My test_setup.py file looks as follows: http://paste.plone.org/24660 >> and my base.py file in the tests folder looks as follows: >> http://paste.plone.org/24661 >> >> Anyone have any ideas? >> >> > > -- > Alexander Pilz > SYSLAB.COM GmbH, Landwehrstrasse 60-62, 80336 Munich, Germany > http://www.syslab.com - Amtsgericht Muenchen, HRB 135057 > Steuernummer 143/184/50154 - Ust.-ID: DE212842815 > -- Regards, Hannes Calitz Developer OpenNetworks Tel +27 11 317 4900 Fax +27 0866 534 816 www.opennetworks.co.za ***************************************************** ONCMS: Content Managed Websites ONCRM: Customer Relationship Management GMAIL: Commercial Google Mail Solutions
_______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
