[z3-checkins] r19379 - z3/Five/trunk/tests/testing

efge at codespeak.net efge at codespeak.net
Wed Nov 2 00:08:08 CET 2005


Author: efge
Date: Wed Nov  2 00:08:08 2005
New Revision: 19379

Modified:
   z3/Five/trunk/tests/testing/simplecontent.py
Log:
Removed unused methods that cause deprecation warnings.


Modified: z3/Five/trunk/tests/testing/simplecontent.py
==============================================================================
--- z3/Five/trunk/tests/testing/simplecontent.py	(original)
+++ z3/Five/trunk/tests/testing/simplecontent.py	Wed Nov  2 00:08:08 2005
@@ -37,19 +37,10 @@
     meta_type = 'Five SimpleContent'
     security = ClassSecurityInfo()
 
-    afterAdd_called = False
-    beforeDelete_called = False
-
     def __init__(self, id, title):
         self.id = id
         self.title = title
 
-    def manage_afterAdd(self, item, container):
-        self.afterAdd_called = True
-
-    def manage_beforeDelete(self, item, container):
-        self.beforeDelete_called = True
-
     security.declarePublic('mymethod')
     def mymethod(self):
         return "Hello world"


More information about the z3-checkins mailing list