Back to index

plone3  3.1.7
Classes | Functions | Variables
Archetypes.tests.test_classgen Namespace Reference

Classes

class  DummyDiscussionTool
class  SiteProperties
class  PortalProperties
class  Dummy
class  ClassGenTest
class  SecDummy1
class  SecDummy2
class  SecDummy3
class  SecDummy4
class  SecDummy5
class  ClassGenSecurityTest

Functions

def gen_dummy
def test_suite

Variables

string default_text
tuple schema
tuple foo_field

Function Documentation

Definition at line 118 of file test_classgen.py.

00118 
00119 def gen_dummy():
00120     gen_class(Dummy, schema)
00121 

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 308 of file test_classgen.py.

00308 
00309 def test_suite():
00310     from unittest import TestSuite, makeSuite
00311     suite = TestSuite()
00312     tests = (
00313         ClassGenSecurityTest,
00314         ClassGenTest
00315         )
00316     for t in tests:
00317         suite.addTest(makeSuite(t))
00318     return suite

Variable Documentation

Initial value:
00001 """
00002 Title
00003 =====
00004 
00005 Subtitle
00006 --------
00007 """

Definition at line 43 of file test_classgen.py.

Initial value:
00001 StringField('foo',
00002                         accessor='makeFoo',
00003                         read_permission='Modify portal content',
00004                         write_permission='Modify portal content')

Definition at line 235 of file test_classgen.py.

Definition at line 51 of file test_classgen.py.