[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_zopepublication.py:1.3

Steve Alexander steve@cat-box.net
Sat, 28 Dec 2002 12:50:00 -0500


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

Modified Files:
	test_zopepublication.py 
Log Message:
Compressed various independent modules in zope.app.traversing into 
far fewer modules.
Also, changed the place where the textindex lives to one level higher.


=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/publication/tests/test_zopepublication.py:1.2	Wed Dec 25 09:13:08 2002
+++ Zope3/src/zope/app/publication/tests/test_zopepublication.py	Sat Dec 28 12:49:30 2002
@@ -24,20 +24,17 @@
 from zope.interfaces.i18n import IUserPreferredCharsets
 
 from zope.publisher.base import TestPublication
-from zope.publisher.http import IHTTPRequest
-from zope.publisher.http import HTTPCharsets
+from zope.publisher.http import IHTTPRequest, HTTPCharsets
 
 from zope.security import simplesecuritypolicies
 from zope.security.securitymanagement import setSecurityPolicy
 
 from zope.app.security.registries.principalregistry import principalRegistry
-from zope.app.interfaces.security \
-     import IUnauthenticatedPrincipal
+from zope.app.interfaces.security import IUnauthenticatedPrincipal
 
 from zope.app.publication.zopepublication import ZopePublication
 
-from zope.app.content.folder import Folder
-from zope.app.content.folder import RootFolder
+from zope.app.content.folder import Folder, RootFolder
 
 from zope.component.interfaces import IServiceService
 
@@ -72,9 +69,8 @@
 
         connection.close()
 
-        from zope.app.traversing.namespaces import provideNamespaceHandler
-        from zope.app.traversing.presentationnamespaces import view, resource
-        from zope.app.traversing.etcnamespace import etc
+        from zope.app.traversing.namespace import provideNamespaceHandler
+        from zope.app.traversing.namespace import view, resource, etc
         provideNamespaceHandler('view', view)
         provideNamespaceHandler('resource', resource)
         provideNamespaceHandler('etc', etc)