[Zope-DB] Pitfall: mxODBCZopeDA and test runner in 2.9+
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.
> ./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.
Professional Python Services directly from the Source
More information about the Zope-DB