[Zope3-checkins] CVS: Zope3/src/zope/app/traversing/tests - test_acquire.py:1.3 test_conveniencefunctions.py:1.3 test_physicallocationadapters.py:1.3 test_traverser.py:1.3

Steve Alexander steve@cat-box.net
Sat, 28 Dec 2002 09:13:30 -0500


Update of /cvs-repository/Zope3/src/zope/app/traversing/tests
In directory cvs.zope.org:/tmp/cvs-serv6737/src/zope/app/traversing/tests

Modified Files:
	test_acquire.py test_conveniencefunctions.py 
	test_physicallocationadapters.py test_traverser.py 
Log Message:
Made the zope.app.interfaces.traversing package into a single
traversing.py file. Corrected (shortened!) the imports that refered to
this package.
Also, made the imports of zope.app.traversing.__init__ a bit simpler.


=== Zope3/src/zope/app/traversing/tests/test_acquire.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/traversing/tests/test_acquire.py:1.2	Wed Dec 25 09:13:27 2002
+++ Zope3/src/zope/app/traversing/tests/test_acquire.py	Sat Dec 28 09:13:29 2002
@@ -19,7 +19,7 @@
 
 from unittest import TestCase, TestSuite, main, makeSuite
 from zope.app.tests.placelesssetup import PlacelessSetup
-from zope.app.interfaces.traversing.traversable import ITraversable
+from zope.app.interfaces.traversing import ITraversable
 from zope.app.traversing.defaulttraversable import DefaultTraversable
 from zope.component.adapter import provideAdapter
 from zope.proxy.context import ContextWrapper, getWrapperContext


=== Zope3/src/zope/app/traversing/tests/test_conveniencefunctions.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/traversing/tests/test_conveniencefunctions.py:1.2	Wed Dec 25 09:13:27 2002
+++ Zope3/src/zope/app/traversing/tests/test_conveniencefunctions.py	Sat Dec 28 09:13:29 2002
@@ -16,19 +16,18 @@
 $Id$
 """
 from unittest import TestCase, TestSuite, main, makeSuite
-from zope.app.services.tests.placefulsetup \
-    import PlacefulSetup
+from zope.app.services.tests.placefulsetup import PlacefulSetup
 from zope.proxy.context import ContextWrapper
 from zope.app.traversing.traverser import Traverser
 from zope.component import getService
 
-from zope.app.interfaces.traversing.traverser import ITraverser
-from zope.app.interfaces.traversing.traversable import ITraversable
+from zope.app.interfaces.traversing import ITraverser
+from zope.app.interfaces.traversing import ITraversable
 from zope.app.traversing.defaulttraversable import DefaultTraversable
 from zope.app.traversing.objectname import IObjectName, ObjectName
 
-from zope.app.interfaces.traversing.physicallylocatable import IPhysicallyLocatable
-from zope.app.interfaces.traversing.containmentroot import IContainmentRoot
+from zope.app.interfaces.traversing import IPhysicallyLocatable
+from zope.app.interfaces.traversing import IContainmentRoot
 from zope.app.traversing.physicallocationadapters \
      import WrapperPhysicallyLocatable, RootPhysicallyLocatable
 


=== Zope3/src/zope/app/traversing/tests/test_physicallocationadapters.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/traversing/tests/test_physicallocationadapters.py:1.2	Wed Dec 25 09:13:27 2002
+++ Zope3/src/zope/app/traversing/tests/test_physicallocationadapters.py	Sat Dec 28 09:13:29 2002
@@ -20,8 +20,8 @@
 from zope.component.adapter import provideAdapter
 from zope.component import getAdapter
 
-from zope.app.interfaces.traversing.containmentroot import IContainmentRoot
-from zope.app.interfaces.traversing.physicallylocatable import IPhysicallyLocatable
+from zope.app.interfaces.traversing import IContainmentRoot
+from zope.app.interfaces.traversing import IPhysicallyLocatable
 from zope.app.traversing.physicallocationadapters \
      import WrapperPhysicallyLocatable, RootPhysicallyLocatable
 from zope.proxy.context import ContextWrapper


=== Zope3/src/zope/app/traversing/tests/test_traverser.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/traversing/tests/test_traverser.py:1.2	Wed Dec 25 09:13:27 2002
+++ Zope3/src/zope/app/traversing/tests/test_traverser.py	Sat Dec 28 09:13:29 2002
@@ -17,28 +17,24 @@
 """
 
 import unittest
-from zope.app.interfaces.traversing.traverser import ITraverser
-from zope.app.interfaces.traversing.traversable import ITraversable
+from zope.app.interfaces.traversing import ITraverser, ITraversable
 from zope.app.traversing.traverser import Traverser
 from zope.app.traversing.defaulttraversable import DefaultTraversable
 
-from zope.app.interfaces.traversing.physicallylocatable import IPhysicallyLocatable
-from zope.app.interfaces.traversing.containmentroot import IContainmentRoot
+from zope.app.interfaces.traversing import IPhysicallyLocatable
+from zope.app.interfaces.traversing import IContainmentRoot
 from zope.app.traversing.physicallocationadapters \
      import WrapperPhysicallyLocatable, RootPhysicallyLocatable
 
 from zope.proxy.context import ContextWrapper
 from zope.exceptions import NotFoundError, Unauthorized
 from zope.component import getService
-from zope.security.securitymanagement \
-    import setSecurityPolicy, noSecurityManager
 
 from zope.interface.verify import verifyClass
 from zope.interface.implements import instancesOfObjectImplements
-from zope.app.services.tests.placefulsetup \
-    import PlacefulSetup
+from zope.app.services.tests.placefulsetup import PlacefulSetup
 from zope.security.checker \
-    import ProxyFactory, defineChecker, NamesChecker, CheckerPublic, Checker
+    import ProxyFactory, defineChecker, CheckerPublic, Checker
 from zope.security.securitymanagement import newSecurityManager
 
 class C: