[Setup] Clouseau gets NameErrors

francoise fcodvpt at gmail.com
Fri Dec 5 09:04:40 UTC 2008



kreetrapper wrote:
> 
> 
> Module: puma.policy.tests.test_setup
> 
> AttributeError: 'module' object has no attribute 'test_suite'
> 
> 

I had the same problem with trying to create the Martin Aspelli sample, when
you have a problem (AttributeError: 'module' object has no attribute
'test_suite') search the error in Google, you can sometime find the
solutions

For this error, look at the last reply in the Add-on Product Developers for
the following post :  
http://plone.org/support/forums/addons#nabble-td357070|a357073 Problem
creating first product 

Here is what could help you (adapt to your product path)  :

remove src/optilux.policy/optilux/policy/tests.py as generated by the paster
plone template. I'm sure tests.py is a valid alternative; but it appears to
mask anything contained in src/optilux.policy/optilux/policy/tests/. You
will see errors like: "object has no attribute 'test_suite'"

-- 
View this message in context: http://n2.nabble.com/Clouseau-gets-NameErrors-tp1612810p1617504.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plone.org/pipermail/setup/attachments/20081205/9be5ed66/attachment.htm


More information about the Setup mailing list