[Zope3-checkins] CVS: Zope3/src/zope/app/registration/tests -
test_registrationmanager.py:1.3
Nathan Yergler
nathan at yergler.net
Tue Mar 23 11:38:06 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/registration/tests
In directory cvs.zope.org:/tmp/cvs-serv11653/src/zope/app/registration/tests
Modified Files:
test_registrationmanager.py
Log Message:
Removed crufty imports, declarations about IAddNotified and IRemoveNotified
interfaces.
=== Zope3/src/zope/app/registration/tests/test_registrationmanager.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/registration/tests/test_registrationmanager.py:1.2 Tue Mar 23 10:15:06 2004
+++ Zope3/src/zope/app/registration/tests/test_registrationmanager.py Tue Mar 23 11:37:20 2004
@@ -16,7 +16,6 @@
"""
from unittest import TestSuite, TestCase, main, makeSuite
from doctest import DocTestSuite
-from zope.app.container.interfaces import IRemoveNotifiable
from zope.app.registration.interfaces import IRegistrationManager
from zope.app.registration.registration import RegistrationManager
from zope.app.registration.registration import RegistrationManagerRemoveSubscriber
@@ -27,16 +26,6 @@
from zope.interface.verify import verifyObject
from zope.interface import implements
from zope.app.container.contained import ObjectRemovedEvent
-
-class Undeletable:
-
- __name__ = __parent__ = None
-
- implements(IRemoveNotifiable)
-
- def removeNotify(self, event):
- self.was_called = 1
-
class Test(BaseTestIEnumerableMapping, PlacelessSetup, TestCase):
"""Testing for Registration Manager """
More information about the Zope3-Checkins
mailing list