Back to index

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

Classes

class  Dummy1
class  Dummy2
class  TestUpdateSchema
class  TestBasicSchemaUpdate

Functions

def test_suite

Variables

tuple textfield1 = TextField('TEXTFIELD1', required=True, default='A')
tuple textfield1b = TextField('TEXTFIELD1', required=False, default='A')
tuple textfield2 = TextField('TEXTFIELD2', default='B')
tuple schema1
tuple schema2

Function Documentation

Definition at line 259 of file test_update_schema.py.

00259 
00260 def test_suite():
00261     from unittest import TestSuite, makeSuite
00262     suite = TestSuite()
00263     suite.addTest(makeSuite(TestUpdateSchema))
00264     suite.addTest(makeSuite(TestBasicSchemaUpdate))
00265     return suite

Variable Documentation

Initial value:
00001 BaseSchema+Schema((
00002         textfield1,
00003         ))

Definition at line 48 of file test_update_schema.py.

Initial value:
00001 BaseSchema+Schema((
00002         textfield1b,
00003         textfield2,
00004         ))

Definition at line 52 of file test_update_schema.py.

tuple Archetypes.tests.test_update_schema.textfield1 = TextField('TEXTFIELD1', required=True, default='A')

Definition at line 42 of file test_update_schema.py.

tuple Archetypes.tests.test_update_schema.textfield1b = TextField('TEXTFIELD1', required=False, default='A')

Definition at line 44 of file test_update_schema.py.

tuple Archetypes.tests.test_update_schema.textfield2 = TextField('TEXTFIELD2', default='B')

Definition at line 46 of file test_update_schema.py.