[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/
Change some PlacefulSetup imports to reflect current location.
Jim Fulton
jim at zope.com
Wed Apr 19 07:33:58 EDT 2006
Log message for revision 67123:
Change some PlacefulSetup imports to reflect current location.
Changed:
U Zope3/branches/jim-adapter/src/zope/app/onlinehelp/tests/test_treeview.py
U Zope3/branches/jim-adapter/src/zope/app/pluggableauth/tests/test_pluggableauth.py
-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/onlinehelp/tests/test_treeview.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/onlinehelp/tests/test_treeview.py 2006-04-19 11:01:26 UTC (rev 67122)
+++ Zope3/branches/jim-adapter/src/zope/app/onlinehelp/tests/test_treeview.py 2006-04-19 11:33:58 UTC (rev 67123)
@@ -22,7 +22,7 @@
from zope import component
from zope.pagetemplate.tests.util import check_xml
from zope.publisher.browser import TestRequest
-from zope.app.site.tests.placefulsetup import PlacefulSetup
+from zope.app.component.testing import PlacefulSetup
from zope.app.onlinehelp.tests import util
from zope.app.onlinehelp.interfaces import IOnlineHelp, IOnlineHelpTopic
from zope.app.onlinehelp.onlinehelp import OnlineHelp
Modified: Zope3/branches/jim-adapter/src/zope/app/pluggableauth/tests/test_pluggableauth.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/pluggableauth/tests/test_pluggableauth.py 2006-04-19 11:01:26 UTC (rev 67122)
+++ Zope3/branches/jim-adapter/src/zope/app/pluggableauth/tests/test_pluggableauth.py 2006-04-19 11:33:58 UTC (rev 67123)
@@ -21,8 +21,9 @@
from zope.app import zapi
from zope.app.testing import ztapi, setup
-import zope.app.site.tests as placefulsetup
+from zope.app.component.testing import PlacefulSetup
+
from zope.app.security.interfaces import PrincipalLookupError
from zope.publisher.interfaces.http import IHTTPCredentials
@@ -43,10 +44,10 @@
import base64
-class Setup(placefulsetup.PlacefulSetup, TestCase):
+class Setup(PlacefulSetup, TestCase):
def setUp(self):
- sm = placefulsetup.PlacefulSetup.setUp(self, site=True)
+ sm = PlacefulSetup.setUp(self, site=True)
ztapi.provideAdapter(IHTTPCredentials, ILoginPassword, BasicAuthAdapter)
ztapi.browserView(IPrincipalSource, "login",
More information about the Zope3-Checkins
mailing list