I was looking at fixing a few deprecation warnings for five.intid for Plone 4/Zope 2.12. Unfortuantely it seems five.intid tests are in a bad shape: with Plone 3.3.4 they fail like this:

Traceback (most recent call last):
File "/Users/wichert/Work/syslab/euphorie/buildout/devel/src/five.intid/five/intid/tests.py", line 6, in ?
    from zope.site.hooks import setHooks, setSite
File "/Users/wichert/Library/eggs/zope.site-3.6.1-py2.4.egg/zope/site/__init__.py", line 19, in ?
    from zope.site.site import (SiteManagerContainer, SiteManagementFolder,
File "/Users/wichert/Library/eggs/zope.site-3.6.1-py2.4.egg/zope/site/site.py", line 44, in ?
    from zope.site import interfaces
File "/Users/wichert/Library/eggs/zope.site-3.6.1-py2.4.egg/zope/site/interfaces.py", line 87, in ?
    class IRootFolder(IFolder, zope.location.interfaces.IRoot):
AttributeError: 'module' object has no attribute 'IRoot'

and on Plone 4 all tracking.txt tests fail like this:

Failed example:
    print http(r"""
    POST /++etc++site/default/@@contents.html HTTP/1.1
    Authorization: Basic mgr:mgrpw
    Referer: http://localhost:8081/++etc++site/default/@@contents.html

    type_name=BrowserAdd__zope.intid.IntIds&new_value=""")
Expected:
    HTTP/1.1 303 See Other
    ...
Location: http://localhost/++etc++site/default/IntIds/@@registration.html
    ...
Got:
    HTTP/1.1 404 Not Found
    Content-Length: 738
    Content-Type: text/html; charset=iso-8859-15

I've cc'ed the people who last touched five.intid; hopefully one of you will recognize these errors and can fix them.

Wichert.


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to