[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/tests - test_acquire.py:1.7 test_conveniencefunctions.py:1.18 test_namespacetrversal.py:1.7 test_objectname.py:1.9 test_physicallocationadapters.py:1.10 test_traverser.py:1.11
Jim Fulton
jim@zope.com
Sun, 1 Jun 2003 12:00:09 -0400
Update of /cvs-repository/Zope3/src/zope/app/traversing/tests
In directory cvs.zope.org:/tmp/cvs-serv25908/src/zope/app/traversing/tests
Modified Files:
test_acquire.py test_conveniencefunctions.py
test_namespacetrversal.py test_objectname.py
test_physicallocationadapters.py test_traverser.py
Log Message:
Moved ContextWrapper, getItem, getAttr, queryItem, and queryAttr
from zope.context to zope.app.context.
=== Zope3/src/zope/app/traversing/tests/test_acquire.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/traversing/tests/test_acquire.py:1.6 Tue May 27 10:18:27 2003
+++ Zope3/src/zope/app/traversing/tests/test_acquire.py Sun Jun 1 11:59:38 2003
@@ -22,7 +22,7 @@
from zope.app.interfaces.traversing import ITraversable
from zope.app.traversing.adapters import DefaultTraversable
from zope.component.adapter import provideAdapter
-from zope.context import ContextWrapper
+from zope.app.context import ContextWrapper
from zope.app.traversing.namespace import acquire
from zope.exceptions import NotFoundError
=== Zope3/src/zope/app/traversing/tests/test_conveniencefunctions.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/traversing/tests/test_conveniencefunctions.py:1.17 Tue May 27 10:18:27 2003
+++ Zope3/src/zope/app/traversing/tests/test_conveniencefunctions.py Sun Jun 1 11:59:38 2003
@@ -18,7 +18,8 @@
from unittest import TestCase, main, makeSuite
from zope.interface import directlyProvides
from zope.app.services.tests.placefulsetup import PlacefulSetup
-from zope.context import ContextWrapper, isWrapper
+from zope.app.context import ContextWrapper
+from zope.context import isWrapper
from zope.app.traversing.adapters import Traverser
from zope.component import getService
from zope.app.services.servicenames import Adapters
=== Zope3/src/zope/app/traversing/tests/test_namespacetrversal.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/traversing/tests/test_namespacetrversal.py:1.6 Wed May 28 18:15:47 2003
+++ Zope3/src/zope/app/traversing/tests/test_namespacetrversal.py Sun Jun 1 11:59:38 2003
@@ -52,7 +52,8 @@
def testSideEffectsContextDetail(self):
# Check to make sure that when we traverse something in context,
# that we get the right context for the result.
- from zope.context import ContextWrapper, getWrapperContainer
+ from zope.app.context import ContextWrapper
+ from zope.context import getWrapperContainer
from zope.app.traversing.adapters import Traverser
from zope.publisher.browser import TestRequest
=== Zope3/src/zope/app/traversing/tests/test_objectname.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/traversing/tests/test_objectname.py:1.8 Tue May 27 10:18:27 2003
+++ Zope3/src/zope/app/traversing/tests/test_objectname.py Sun Jun 1 11:59:38 2003
@@ -23,7 +23,7 @@
from zope.component import getService, getAdapter
from zope.app.services.servicenames import Adapters
-from zope.context import ContextWrapper
+from zope.app.context import ContextWrapper
from zope.app.interfaces.traversing import IObjectName
from zope.app.traversing.adapters import ObjectName
=== Zope3/src/zope/app/traversing/tests/test_physicallocationadapters.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/traversing/tests/test_physicallocationadapters.py:1.9 Wed May 28 18:15:47 2003
+++ Zope3/src/zope/app/traversing/tests/test_physicallocationadapters.py Sun Jun 1 11:59:38 2003
@@ -24,7 +24,7 @@
from zope.app.interfaces.traversing import IPhysicallyLocatable
from zope.app.traversing.adapters import WrapperPhysicallyLocatable
from zope.app.traversing.adapters import RootPhysicallyLocatable
-from zope.context import ContextWrapper
+from zope.app.context import ContextWrapper
class Root: __implements__ = IContainmentRoot
class C: pass
=== Zope3/src/zope/app/traversing/tests/test_traverser.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/traversing/tests/test_traverser.py:1.10 Tue May 27 10:18:27 2003
+++ Zope3/src/zope/app/traversing/tests/test_traverser.py Sun Jun 1 11:59:38 2003
@@ -30,7 +30,7 @@
from zope.app.traversing.adapters import WrapperPhysicallyLocatable
from zope.app.traversing.adapters import RootPhysicallyLocatable
-from zope.context import ContextWrapper
+from zope.app.context import ContextWrapper
from zope.exceptions import NotFoundError, Unauthorized
from zope.component import getService
from zope.app.services.servicenames import Adapters