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

Paul Winkler pw_lists at slinkp.com
Tue Oct 10 17:35:22 EDT 2006


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.

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope-DB mailing list