Back to index

plone3  3.1.7
Classes | Functions
PluggableAuthService.tests.test_UserFolder Namespace Reference

Classes

class  UserFolderTests
class  UserTests
class  UserEvents

Functions

def userCreatedHandler
def test_suite

Function Documentation

Definition at line 341 of file test_UserFolder.py.

00341 
00342 def test_suite():
00343     suite = unittest.TestSuite()
00344     suite.addTest(unittest.makeSuite(UserFolderTests))
00345     suite.addTest(unittest.makeSuite(UserTests))
00346     suite.addTest(unittest.makeSuite(UserEvents))
00347     return suite

Definition at line 35 of file test_UserFolder.py.

00035 
00036 def userCreatedHandler(event):
00037     pas = event.principal.aq_parent
00038     if not hasattr(pas, 'events'):
00039         pas.events = []
00040 
00041     pas.events.append(event)
00042