[Product-Developers] AttributeError: RichDocument
Alexander Pilz
pilz at syslab.com
Wed Oct 29 11:53:22 UTC 2008
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
More information about the Product-Developers
mailing list