Tim van der Leeuw wrote:
Hi,
I tried to use the Zope test-browser standalone, to see if I can use it
to build a higher-level test-tool on top of it. I downloaded version
3.4.2 from the Python Package Index which installed fine, however when I
try to use it I get an error:
>>> from zope.testbrowser.testing import Browser
That's the variant used for functional tests in Zope 3. You want to
import zope.testbrowser.browser.Browser.
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
File "c:\python25\lib\site-packages\zope.testbrowser-
3.4.2-py2.5.egg\zope\testbrowser\testing.py", line 27, in <module>
import transaction
ImportError: No module named transaction
As you see, I can not even import the Browser class, the first line of
the examples.
I guess that there are some extra dependancies which are not recorded as
part of the setup script; however I cannot easily deduct from the list
of Zope packages which they could be.
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users