[Setup] Problem with tests following Martins book
dev at abita.fi
Sat Nov 15 10:10:20 UTC 2008
Your guess is right.
Deleting tests.py should solve the problem.
2008/11/15 Johannes Ammon <johannes at ammon.ruhr.de>
> Hi all,
> I'm working my way through Martins excellent book, trying to set up a new
> Plone3.1 site.
> When I run the tests I get:
> Test-module import failures:
> Module: optilux.policy.tests
> AttributeError: 'module' object has no attribute 'test_suite'
> I think the reason is that src/optilux.policy/optilux/policy contains a
> directory "tests" and a file "tests.py". (Probably I made some mistake in
> copying the code from the book, but I cannot find it. And in the end I don't
> want to copy correctly but understand what I'm doing.)
> Now how can I solve this problem? Can I safely rename one of them? Can I
> safely ignore the error message?
> Pheew, I feel, there is still a lot I have to learn about the new plone.
> Thanks for your advice,
> Setup mailing list
> Setup at lists.plone.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Setup