[Zope] Running egg-packaged product tests

Sébastien Nicouleaud sebastien.nicouleaud at gmail.com
Fri Jan 12 01:38:44 EST 2007


Hello,

I'm trying to run tests for an egg-packaged product (deployed in development
mode), with zope 2.10.1.
I'm using the "zopectl test" command, with "--path" set to my product source
directory.

The problem is that the test runner seems to call the product initialize()
function 2 times (one during zope initialization, and one during testrunner
initialization), resulting in duplicated profile id declarations...

Is there a way to run the tests for an egg-packaged product without setting
the --path option to the source dir, in order to prevent this duplication ?

Thanks
Seb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070112/fb36ad57/attachment.htm


More information about the Zope mailing list