[Zope] Testing products outside of zope (i.e., in python interpreter)?
Joe Grace
Occam@Wizards.com
Thu, 06 Jan 2000 15:32:08 -0800
Hi,
is there a way to test zope products outside of zope? I find that I'm
restarting zope just to update my product and test it, and that seems
painfully slow. I'd like to just run code outside of zope interactively
in a shell. Is that possible? I'm trying with Boring product (super
simple) and tripping over the Persistence import
Import Error: cannot import name Persistent
I've run into this problem before and assume that Persistent is a C
function. How do I make it available to my python interpreter? I
couldn't figure out where z2.py gets it, but I also am just dealing with
the python environment for the first time. I'm using Xemacs (on NT) if
that makes giving some tips any easier. :-)
I'll take pointers, tips, how-to reference, anything at this point. I'd
be happy to make a How-To if I get enough information.
Thanks in advance!
= Joe =