[Product-Developers] Re: 'module' object has no attribute 'test_suite' error in my TEST

Dorneles Treméa dorneles at x3ng.com.br
Tue Jun 17 22:27:15 UTC 2008


Hey Brandon,

> I'm having some trouble with my unit tests.  I am following along in
> Martin Aspeli's book "Professional Plone Development", more
> specifically, Chapter 5 page 73. I have followed to the best of my
> knowledge exactly how the book explained, but I'm getting an error when
> I ".\bin\instance test -s navc.policy" Here's the error:
> 
> Module: navc.policy.tests
> AttributeError: 'module' object has no attribute 'test_suite'

you probably already discovered that, but this problem happens
because you have both a tests.py module and a tests directory at
the same package... ;-)

-- 

Dorneles Treméa
X3ng Web Technology
http://nosleepforyou.blogspot.com





More information about the Product-Developers mailing list