On Tue, 05 Oct 2004 09:47:11 -0500, Evan Simpson <[EMAIL PROTECTED]> wrote:
> This is part of my attempt to allow the various bits of ZPT to work
> outside of Zope. It assumes that the presence of the 'Zope' module is a
> reliable test. Perhaps this is a YAGNI, or perhaps there's a better way
Stefan H. Holek wrote:
ZTUtils/__init__.py contains code like this:
if sys.modules.has_key('Zope'):
# import things
This is causing me repeated headaches when writing tests, because it
assumes/dictates a certain module import order. Can this go away,
please? I mean we know we are running