[Zope-Coders] If 'import Zope' is bad then...

Shane Hathaway shane@zope.com
Wed, 23 Jan 2002 10:05:01 -0500


Chris Withers wrote:

> ..why is it in all the CMF tests? ;-)
> 
> Seriously, though, I've seen lots of comments about this being bad and I agree
> with them all.
> 
> However, if you don't use it, how're you suppose to make:
> 
> from Products.x.x import y
> 
> ..work?

Well, it's becoming apparent that unit tests for a lot of Zope products 
really need to use "import Zope".  The CMF tests need to be cleaned up, 
but you may find that not all dependencies on the Zope package and 
products can be removed without major surgery. :-(

Shane