[Zope3-checkins] CVS: Zope3/src/zope/app/event/tests - test_eventpublisher.py:1.2
Steve Alexander
steve@cat-box.net
Mon, 27 Jan 2003 13:23:04 -0500
Update of /cvs-repository/Zope3/src/zope/app/event/tests
In directory cvs.zope.org:/tmp/cvs-serv12045/src/zope/app/event/tests
Modified Files:
test_eventpublisher.py
Log Message:
fixed missing placeless setup
=== Zope3/src/zope/app/event/tests/test_eventpublisher.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/event/tests/test_eventpublisher.py:1.1 Mon Dec 30 09:03:05 2002
+++ Zope3/src/zope/app/event/tests/test_eventpublisher.py Mon Jan 27 13:23:00 2003
@@ -27,6 +27,7 @@
from zope.app.event.globalservice import GlobalEventPublisher
from zope.exceptions import NotFoundError
from zope.app.interfaces.event import IEvent
+from zope.component.tests.placelesssetup import PlacelessSetup
from zope.app.event.tests.subscriber import DummySubscriber, DummyFilter
@@ -38,10 +39,10 @@
__implements__ = IObjectEvent
-class TestEventService(CleanUp, unittest.TestCase):
+class TestEventService(PlacelessSetup, unittest.TestCase):
def setUp(self):
- CleanUp.setUp(self)
+ PlacelessSetup.setUp(self)
self.service = GlobalEventPublisher()
self.event = ObjectAddedEvent(None, '/foo')
self.subscriber = DummySubscriber()