Back to index

plone3  3.1.7
Public Member Functions
CMFCore.tests.test_DiscussionTool.DiscussionToolTests Class Reference

List of all members.

Public Member Functions

def test_z2interfaces
def test_z3interfaces

Detailed Description

Definition at line 22 of file test_DiscussionTool.py.


Member Function Documentation

Definition at line 24 of file test_DiscussionTool.py.

00024 
00025     def test_z2interfaces(self):
00026         from Interface.Verify import verifyClass
00027         from Products.CMFCore.DiscussionTool import DiscussionTool
00028         from Products.CMFCore.interfaces.portal_actions \
00029                 import ActionProvider as IActionProvider
00030         from Products.CMFCore.interfaces.portal_discussion \
00031                 import oldstyle_portal_discussion as IOldstyleDiscussionTool
00032 
00033         verifyClass(IActionProvider, DiscussionTool)
00034         verifyClass(IOldstyleDiscussionTool, DiscussionTool)

Definition at line 35 of file test_DiscussionTool.py.

00035 
00036     def test_z3interfaces(self):
00037         from zope.interface.verify import verifyClass
00038         from Products.CMFCore.DiscussionTool import DiscussionTool
00039         from Products.CMFCore.interfaces import IActionProvider
00040         from Products.CMFCore.interfaces import IOldstyleDiscussionTool
00041 
00042         verifyClass(IActionProvider, DiscussionTool)
00043         verifyClass(IOldstyleDiscussionTool, DiscussionTool)
00044 


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