Back to index

plone3  3.1.7
Public Member Functions
plone.app.portlets.tests.test_mapping.TestNameChooser Class Reference
Inheritance diagram for plone.app.portlets.tests.test_mapping.TestNameChooser:
Inheritance graph
[legend]
Collaboration diagram for plone.app.portlets.tests.test_mapping.TestNameChooser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def testNameChooser

Detailed Description

Definition at line 23 of file test_mapping.py.


Member Function Documentation

Definition at line 25 of file test_mapping.py.

00025 
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: