[CMF-checkins] CVS: Products/CMFCore/tests - test_OpaqueItems.py:1.7
Tres Seaver
tseaver at zope.com
Mon Jul 19 10:51:53 EDT 2004
Update of /cvs-repository/Products/CMFCore/tests
In directory cvs.zope.org:/tmp/cvs-serv2310/CMFCore/tests
Modified Files:
test_OpaqueItems.py
Log Message:
- Repair test glitches, docstrings
=== Products/CMFCore/tests/test_OpaqueItems.py 1.6 => 1.7 ===
--- Products/CMFCore/tests/test_OpaqueItems.py:1.6 Mon Jul 19 08:02:02 2004
+++ Products/CMFCore/tests/test_OpaqueItems.py Mon Jul 19 10:51:52 2004
@@ -6,10 +6,11 @@
from types import StringType
-from Products.CMFCore.interfaces.IOpaqueItems
+from Products.CMFCore.interfaces.IOpaqueItems \
import ICallableOpaqueItem, ICallableOpaqueItemEvents
from Products.CMFCore.PortalFolder import PortalFolder
-from Products.CMFCore.tests.base.dummy import DummyContent as OriginalDummyContent
+from Products.CMFCore.tests.base.dummy \
+ import DummyContent as OriginalDummyContent
from Products.CMFCore.tests.base.testcase import SecurityTest
from Products.CMFCore.TypesTool import TypesTool
@@ -73,19 +74,17 @@
return self.id
class MarkerOnly(OpaqueBase):
- """ Opaque item without manage_after/before hookes but marked
- as callable
+ """ Opaque item without manage_after/before hookes but marked as callable
"""
__implements__ = (
ICallableOpaqueItem,
)
class HooksOnly(OpaqueBase):
- """ Opaque item with manage_after/before hookes but not marked
- as callable
+ """ Opaque item with manage_after/before hooks but not marked as callable
"""
__implements__ = (
- ICallableOpaqueItemEvents
+ ICallableOpaqueItemEvents,
)
def manage_afterAdd(self, item, container):
@@ -102,8 +101,7 @@
class HooksAndMarker(HooksOnly, MarkerOnly):
- """ Opaque item with manage_after/before hookes and marked
- as callable
+ """ Opaque item with manage_after/before hookes and marked as callable
"""
__implements__ = HooksOnly.__implements__ + MarkerOnly.__implements__
More information about the CMF-checkins
mailing list