Maybe I should reformulate :<br><br>Is there a simple way to run unit tests for products packaged as eggs with Zope 2.9.6+Five 1.4.2, or with Zope 2.10.1 ?<br><br>Thanks<br>Seb<br><br><br><div><span class="gmail_quote">2007/1/12, Sébastien Nicouleaud &lt;
<a href="mailto:sebastien.nicouleaud@gmail.com">sebastien.nicouleaud@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>I&#39;m trying to run tests for an egg-packaged product (deployed in development mode), with zope 2.10.1.<br>I&#39;m using the &quot;zopectl test&quot; command, with &quot;--path&quot; set to my product source directory.
<br><br>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...<br><br>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 ?
<br><br>Thanks<br>Seb

</blockquote></div><br>