[Zope3-checkins] CVS: Zope3/src/zope/app/publication/tests - test_browserpublication.py:1.11 test_simplecomponenttraverser.py:1.7 test_zopepublication.py:1.13

Martijn Faassen m.faassen@vet.uu.nl
Thu, 1 May 2003 15:35:57 -0400


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

Modified Files:
	test_browserpublication.py test_simplecomponenttraverser.py 
	test_zopepublication.py 
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)


=== Zope3/src/zope/app/publication/tests/test_browserpublication.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/publication/tests/test_browserpublication.py:1.10	Sun Mar 23 17:35:40 2003
+++ Zope3/src/zope/app/publication/tests/test_browserpublication.py	Thu May  1 15:35:26 2003
@@ -17,7 +17,7 @@
 
 from zope.interface import Interface
 
-from zope.component import getService, getServiceManager
+from zope.component import getService
 from zope.app.services.servicenames import Views
 
 from zope.publisher.publish import publish
@@ -33,7 +33,6 @@
 from zope.app.security.registries.principalregistry import principalRegistry
 from zope.app.security.grants.principalrole import principalRoleManager
 
-from zope.app.publication.zopepublication import ZopePublication
 from zope.app.publication.browser import BrowserPublication
 from zope.app.publication.traversers import TestTraverser
 from zope.app.publication.tests.test_zopepublication \


=== Zope3/src/zope/app/publication/tests/test_simplecomponenttraverser.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/publication/tests/test_simplecomponenttraverser.py:1.6	Thu Mar 13 13:49:08 2003
+++ Zope3/src/zope/app/publication/tests/test_simplecomponenttraverser.py	Thu May  1 15:35:26 2003
@@ -16,7 +16,7 @@
 $Id$
 """
 
-import unittest, sys
+import unittest
 from zope.component.tests.request import Request
 from zope.app.publication.traversers import SimpleComponentTraverser
 from zope.component import getService


=== Zope3/src/zope/app/publication/tests/test_zopepublication.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/publication/tests/test_zopepublication.py:1.12	Fri Apr 25 06:35:18 2003
+++ Zope3/src/zope/app/publication/tests/test_zopepublication.py	Thu May  1 15:35:26 2003
@@ -44,8 +44,6 @@
 from zope.publisher.base import TestRequest
 from zope.publisher.browser import BrowserResponse
 
-from zope.component.service import serviceManager
-
 from zope.proxy.context import getWrapperContext
 
 from transaction import get_transaction