[Zope3-checkins] CVS: Zope3/src/zope/app/event/tests - placelesssetup.py:1.10 test_directives.py:1.9 test_eventpublisher.py:1.3

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


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

Modified Files:
	placelesssetup.py test_directives.py test_eventpublisher.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/event/tests/placelesssetup.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/event/tests/placelesssetup.py:1.9	Sat Mar  8 16:46:04 2003
+++ Zope3/src/zope/app/event/tests/placelesssetup.py	Thu May  1 15:35:16 2003
@@ -21,7 +21,6 @@
 from zope.app.services.servicenames import EventPublication
 from zope.app.interfaces.event import IPublisher, ISubscriber
 from zope.app.event.globalservice import eventPublisher
-from zope.interface import Interface
 
 events = []
 


=== Zope3/src/zope/app/event/tests/test_directives.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/event/tests/test_directives.py:1.8	Sat Mar  8 16:46:04 2003
+++ Zope3/src/zope/app/event/tests/test_directives.py	Thu May  1 15:35:16 2003
@@ -28,12 +28,10 @@
 from zope.app.event.objectevent import ObjectAddedEvent
 from zope.app.event.objectevent import ObjectRemovedEvent
 from zope.app.event.objectevent import ObjectModifiedEvent
-from zope.app.event.tests.test_eventpublisher \
-     import DummyEvent
+from zope.app.event.tests.test_eventpublisher import DummyEvent
 from zope.component.tests.placelesssetup import PlacelessSetup
 from zope.component import getServiceManager
 from zope.app.services.servicenames import EventPublication
-from zope.configuration.tests.basetestdirectivesxml import makeconfig
 from zope.app.interfaces.event import IEvent
 
 class Test(PlacelessSetup, TestCase):


=== Zope3/src/zope/app/event/tests/test_eventpublisher.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/event/tests/test_eventpublisher.py:1.2	Mon Jan 27 13:23:00 2003
+++ Zope3/src/zope/app/event/tests/test_eventpublisher.py	Thu May  1 15:35:16 2003
@@ -17,8 +17,7 @@
 $Id$
 """
 
-import unittest, sys
-from zope.testing.cleanup import CleanUp # Base class w registry cleanup
+import unittest
 
 from zope.app.interfaces.event import IObjectEvent, IObjectAddedEvent
 from zope.app.interfaces.event import IObjectRemovedEvent