Back to index

plone3  3.1.7
Public Member Functions Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def testNameChooser

Detailed Description

Definition at line 23 of file

Member Function Documentation

Definition at line 25 of file

00026     def testNameChooser(self):
00027         mapping = PortletAssignmentMapping()
00028         chooser = INameChooser(mapping)
00029         c = classic.Assignment()
00030         mapping[chooser.chooseName(None, c)] = c
00031         self.failUnless(c.__name__)
00032         d = classic.Assignment()
00033         self.failIfEqual(chooser.chooseName(None, d), c.__name__)

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