Re: Pitfall: mxODBCZopeDA and test runner in 2.9+

"Charlie Clark" <[email protected]>
Newsgroups gmane.comp.web.zope.database
Organization eGenix.com
Message-ID <[email protected]>
Am 10.10.2006, 23:35 Uhr, schrieb Paul Winkler <[email protected]>:

> 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

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

Professional Python Services directly from the Source
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.