[Zope3-checkins] CVS: Zope3/src/zope/component/tests - test_api.py:1.7 test_providefactory.py:1.5 test_resources.py:1.6 test_skins.py:1.4 test_utilityservice.py:1.5

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


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

Modified Files:
	test_api.py test_providefactory.py test_resources.py 
	test_skins.py test_utilityservice.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/component/tests/test_api.py 1.6 => 1.7 ===
--- Zope3/src/zope/component/tests/test_api.py:1.6	Thu Mar 13 13:49:12 2003
+++ Zope3/src/zope/component/tests/test_api.py	Thu May  1 15:35:39 2003
@@ -11,7 +11,7 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-import unittest, sys
+import unittest
 from zope.interface import Interface
 from zope.component.tests.request import Request
 from zope.component.servicenames import Adapters


=== Zope3/src/zope/component/tests/test_providefactory.py 1.4 => 1.5 ===
--- Zope3/src/zope/component/tests/test_providefactory.py:1.4	Tue Feb 11 11:00:05 2003
+++ Zope3/src/zope/component/tests/test_providefactory.py	Thu May  1 15:35:39 2003
@@ -17,7 +17,7 @@
 """
 
 
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
 from zope.component.tests.placelesssetup import PlacelessSetup
 from zope.component.servicenames import Factories
 
@@ -26,7 +26,7 @@
 
     def test_provide_factory(self):
         from zope.component import getService, createObject
-        from zope.component.tests.factory import f, X, IX
+        from zope.component.tests.factory import f, X
         factories=getService(None, Factories)
         factories.provideFactory("Some.Object", f)
         thing = createObject(None,"Some.Object")


=== Zope3/src/zope/component/tests/test_resources.py 1.5 => 1.6 ===
--- Zope3/src/zope/component/tests/test_resources.py:1.5	Tue Feb 11 21:17:43 2003
+++ Zope3/src/zope/component/tests/test_resources.py	Thu May  1 15:35:39 2003
@@ -16,7 +16,7 @@
 $Id$
 """
 
-import unittest, sys
+import unittest
 
 from zope.component import getService
 from zope.component.tests.placelesssetup import PlacelessSetup


=== Zope3/src/zope/component/tests/test_skins.py 1.3 => 1.4 ===
--- Zope3/src/zope/component/tests/test_skins.py:1.3	Thu Feb  6 01:50:08 2003
+++ Zope3/src/zope/component/tests/test_skins.py	Thu May  1 15:35:39 2003
@@ -11,7 +11,7 @@
 # FOR A PARTICULAR PURPOSE.
 #
 ##############################################################################
-import unittest, sys
+import unittest
 
 from zope.component.tests.placelesssetup import PlacelessSetup
 from zope.component import getView, getService, queryView


=== Zope3/src/zope/component/tests/test_utilityservice.py 1.4 => 1.5 ===
--- Zope3/src/zope/component/tests/test_utilityservice.py:1.4	Tue Feb 11 11:00:05 2003
+++ Zope3/src/zope/component/tests/test_utilityservice.py	Thu May  1 15:35:39 2003
@@ -18,7 +18,7 @@
 $Id$
 """
 
-from unittest import TestCase, TestSuite, main, makeSuite
+from unittest import TestCase, main, makeSuite
 from zope.component import \
      getUtility, getService, queryUtility, getServiceManager
 from zope.component.exceptions import ComponentLookupError