Back to index

plone3  3.1.7
Classes | Functions | Variables
CMFPlone.tests.testPortalFactory Namespace Reference

Classes

class  TestPortalFactory
class  TestCreateObject
class  TestCreateObjectByURL

Functions

def sortTuple
def test_suite

Variables

 default_user = PloneTestCase.default_user
 default_password = PloneTestCase.default_password
string ADD_DOC_PERM = 'ATContentTypes: Add Document'

Function Documentation

Definition at line 15 of file testPortalFactory.py.

00015 
00016 def sortTuple(t):
00017     l = list(t)
00018     l.sort()
00019     return tuple(l)

Here is the caller graph for this function:

Definition at line 323 of file testPortalFactory.py.

00323 
00324 def test_suite():
00325     from unittest import TestSuite, makeSuite
00326     suite = TestSuite()
00327     suite.addTest(makeSuite(TestPortalFactory))
00328     suite.addTest(makeSuite(TestCreateObject))
00329     suite.addTest(makeSuite(TestCreateObjectByURL))
00330     return suite

Variable Documentation

string CMFPlone.tests.testPortalFactory.ADD_DOC_PERM = 'ATContentTypes: Add Document'

Definition at line 20 of file testPortalFactory.py.

CMFPlone.tests.testPortalFactory.default_password = PloneTestCase.default_password

Definition at line 13 of file testPortalFactory.py.

CMFPlone.tests.testPortalFactory.default_user = PloneTestCase.default_user

Definition at line 12 of file testPortalFactory.py.