[Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+

Charlie Clark charlie at egenix.com
Thu Oct 12 17:57:32 EDT 2006

Am 10.10.2006, 23:35 Uhr, schrieb Paul Winkler <pw_lists at slinkp.com>:

> If you have mxODBCZopeDA and are using it with zope 2.9 or higher,
> a word of warning:
> You *must* use the -k option to the test runner when running
>  tests in your INSTANCE_HOME.
>  Example:
>  ./bin/zopectl test -k
> If you fail to use -k, the zope test runner will delete bytecode for all
> your products - including mxODBCZopeDA, which has no .py files to fall
> back on.  Ouch. I'll investigate further - there might be a bug to file
> against zope.testing.

For development purposes of this nature you might drop mxODBCZopeDA in  
your SOFTWARE_HOME rather than INSTANCE_HOME which should protect.

Charlie Clark
Tel: +49-211-600-3657
GSM: +49-178-782-6226

Professional Python Services directly from the Source

More information about the Zope-DB mailing list