Back to index

plone3  3.1.7
Public Member Functions
CMFDefault.tests.test_Discussions.DiscussionItemTests Class Reference

List of all members.

Public Member Functions

def test_z2interfaces
def test_z3interfaces

Detailed Description

Definition at line 39 of file test_Discussions.py.


Member Function Documentation

Definition at line 41 of file test_Discussions.py.

00041 
00042     def test_z2interfaces(self):
00043         from Interface.Verify import verifyClass
00044         from Products.CMFCore.interfaces.Contentish \
00045                 import Contentish as IContentish
00046         from Products.CMFCore.interfaces.Discussions \
00047                 import DiscussionResponse as IDiscussionResponse
00048         from Products.CMFCore.interfaces.DublinCore \
00049                 import CatalogableDublinCore as ICatalogableDublinCore
00050         from Products.CMFCore.interfaces.DublinCore \
00051                 import DublinCore as IDublinCore
00052         from Products.CMFCore.interfaces.DublinCore \
00053                 import MutableDublinCore as IMutableDublinCore
00054         from Products.CMFCore.interfaces.Dynamic \
00055                 import DynamicType as IDynamicType
00056         from Products.CMFDefault.DiscussionItem import DiscussionItem
00057 
00058         verifyClass(ICatalogableDublinCore, DiscussionItem)
00059         verifyClass(IContentish, DiscussionItem)
00060         verifyClass(IDiscussionResponse, DiscussionItem)
00061         verifyClass(IDublinCore, DiscussionItem)
00062         verifyClass(IDynamicType, DiscussionItem)
00063         verifyClass(IMutableDublinCore, DiscussionItem)

Definition at line 64 of file test_Discussions.py.

00064 
00065     def test_z3interfaces(self):
00066         from zope.interface.verify import verifyClass
00067         from Products.CMFCore.interfaces import ICatalogableDublinCore
00068         from Products.CMFCore.interfaces import IContentish
00069         from Products.CMFCore.interfaces import IDiscussionResponse
00070         from Products.CMFCore.interfaces import IDublinCore
00071         from Products.CMFCore.interfaces import IDynamicType
00072         from Products.CMFCore.interfaces import IMutableDublinCore
00073         from Products.CMFDefault.DiscussionItem import DiscussionItem
00074 
00075         verifyClass(ICatalogableDublinCore, DiscussionItem)
00076         verifyClass(IContentish, DiscussionItem)
00077         verifyClass(IDiscussionResponse, DiscussionItem)
00078         verifyClass(IDublinCore, DiscussionItem)
00079         verifyClass(IDynamicType, DiscussionItem)
00080         verifyClass(IMutableDublinCore, DiscussionItem)
00081 


The documentation for this class was generated from the following file: