[CMF-checkins] CVS: Products/CMFCalendar/tests -
test_Event.py:1.14.4.1
Tres Seaver
tseaver at palladion.com
Fri Jul 15 18:41:47 EDT 2005
Update of /cvs-repository/Products/CMFCalendar/tests
In directory cvs.zope.org:/tmp/cvs-serv16776/CMFCalendar/tests
Modified Files:
Tag: tseaver-z3_interfaces-branch
test_Event.py
Log Message:
Branch for Z3-ification of CMF interfaces
- All interfaces declared in the CMF are now Zope3-style interfaces
(the one remaining exception is to leave Zope2's
'webdav.WriteLockInterface' declared by CMFCore.PortalContent and
derivatives.).
TOOD
- Clean up XXX'es noted during this pass.
=== Products/CMFCalendar/tests/test_Event.py 1.14 => 1.14.4.1 ===
--- Products/CMFCalendar/tests/test_Event.py:1.14 Wed Jun 15 10:17:37 2005
+++ Products/CMFCalendar/tests/test_Event.py Fri Jul 15 18:41:16 2005
@@ -33,26 +33,6 @@
return Event(id, *args, **kw)
- def test_z2interfaces(self):
- from Interface.Verify import verifyClass
- from Products.CMFCore.interfaces.Contentish \
- import Contentish as IContentish
- from Products.CMFCore.interfaces.DublinCore \
- import CatalogableDublinCore as ICatalogableDublinCore
- from Products.CMFCore.interfaces.DublinCore \
- import DublinCore as IDublinCore
- from Products.CMFCore.interfaces.DublinCore \
- import MutableDublinCore as IMutableDublinCore
- from Products.CMFCore.interfaces.Dynamic \
- import DynamicType as IDynamicType
- from Products.CMFCalendar.Event import Event
-
- verifyClass(ICatalogableDublinCore, Event)
- verifyClass(IContentish, Event)
- verifyClass(IDublinCore, Event)
- verifyClass(IDynamicType, Event)
- verifyClass(IMutableDublinCore, Event)
-
def test_z3interfaces(self):
from zope.interface.verify import verifyClass
from Products.CMFCalendar.Event import Event
More information about the CMF-checkins
mailing list