Back to index

plone3  3.1.7
Public Member Functions | Private Member Functions
CMFCore.tests.test_RegistrationTool.RegistrationToolTests Class Reference

List of all members.

Public Member Functions

def test_z2interfaces
def test_z3interfaces
def test_generatePassword

Private Member Functions

def _makeOne

Detailed Description

Definition at line 22 of file test_RegistrationTool.py.


Member Function Documentation

Definition at line 24 of file test_RegistrationTool.py.

00024 
00025     def _makeOne(self):
00026         from Products.CMFCore.RegistrationTool import RegistrationTool
00027 
00028         return RegistrationTool()

Definition at line 44 of file test_RegistrationTool.py.

00044 
00045     def test_generatePassword(self):
00046         rtool = self._makeOne()
00047         self.failUnless( len( rtool.generatePassword() ) >= 5 )
00048 

Here is the call graph for this function:

Definition at line 29 of file test_RegistrationTool.py.

00029 
00030     def test_z2interfaces(self):
00031         from Interface.Verify import verifyClass
00032         from Products.CMFCore.interfaces.portal_registration \
00033                 import portal_registration as IRegistrationTool
00034         from Products.CMFCore.RegistrationTool import RegistrationTool
00035 
00036         verifyClass(IRegistrationTool, RegistrationTool)

Definition at line 37 of file test_RegistrationTool.py.

00037 
00038     def test_z3interfaces(self):
00039         from zope.interface.verify import verifyClass
00040         from Products.CMFCore.interfaces import IRegistrationTool
00041         from Products.CMFCore.RegistrationTool import RegistrationTool
00042 
00043         verifyClass(IRegistrationTool, RegistrationTool)


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