Nope, there is no such file. As I said, I am working of examples, and in there, the OptiluxPolicyTestCase class is in the __init__.py file. Should I simply remove the ".base" from my import statement in this case, or should I move it to a file called base.py? Also, could this be what is causing the tests module not to find the test_suite attribute?
2008/10/28 Alexander Pilz <[EMAIL PROTECTED]<[EMAIL PROTECTED]> > > > > hannesc schrieb: > > Right LOL So, here is the error I'm getting: > > *Module: optilux.policy.tests > > AttributeError: 'module' object has no attribute 'test_suite' > > > Module: optilux.policy.tests.test_setup > > Traceback (most recent call last): > File > "/home/hannes/optilux/src/optilux.policy/optilux/policy/tests/test_setup.py", > line 2, in ? > from optilux.policy.tests.base import OptiluxPolicyTestCase > ImportError: No module named base > * > > And you are sure there is a file named > * optilux/policy/tests/base.py? > br > alex > * > > _______________________________________________ > Product-Developers mailing list > [EMAIL > PROTECTED]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=1385915&i=0> > http://lists.plone.org/mailman/listinfo/product-developers > > > ------------------------------ > View message @ > http://n2.nabble.com/Need-help-writing-tests-tp1381925p1385915.html > To unsubscribe from Need help writing tests, click here< (link removed) >. > > > -- 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 -- View this message in context: http://n2.nabble.com/Need-help-writing-tests-tp1381925p1385961.html Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
