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

Chris Withers chris at simplistix.co.uk
Wed Oct 11 03:15:43 EDT 2006


Paul Winkler wrote:
> 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

But, bear in mind that by doing this, no .pyc's will be deleted meaning 
you may get weird test behaviour/failure where you've deleted a .py (eg: 
by an svn up) but forgotten to delete the .pyc...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope-DB mailing list