[Zope3-checkins]
SVN: Zope3/branches/jim-adapter/src/zwiki/tests/test_traverser.py
Get rid of no longer existing import
Philipp von Weitershausen
philikon at philikon.de
Tue Feb 28 23:31:31 EST 2006
Log message for revision 65643:
Get rid of no longer existing import
Changed:
U Zope3/branches/jim-adapter/src/zwiki/tests/test_traverser.py
-=-
Modified: Zope3/branches/jim-adapter/src/zwiki/tests/test_traverser.py
===================================================================
--- Zope3/branches/jim-adapter/src/zwiki/tests/test_traverser.py 2006-03-01 04:28:37 UTC (rev 65642)
+++ Zope3/branches/jim-adapter/src/zwiki/tests/test_traverser.py 2006-03-01 04:31:31 UTC (rev 65643)
@@ -17,8 +17,7 @@
"""
import unittest, sys
-from zope.component.tests.request import Request
-from zope.interface import Interface, classImplements
+from zope.interface import Interface, classImplements, directlyProvides
from zope.publisher.interfaces import NotFound
from zope.proxy import removeAllProxies
@@ -39,7 +38,11 @@
class I(Interface):
pass
-class Request(Request):
+class Request(object):
+
+ def __init__(self, type):
+ directlyProvides(self, type)
+
def getEffectiveURL(self):
return ''
More information about the Zope3-Checkins
mailing list