Back to index

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

Classes

class  DummyDiscussionTool
class  Dummy
class  BaseObjectTest

Functions

def test_suite

Variables

tuple MULTIPLEFIELD_LIST
tuple schema

Function Documentation

Definition at line 139 of file test_baseobject.py.

00139 
00140 def test_suite():
00141     from unittest import TestSuite, makeSuite
00142     suite = TestSuite()
00143     suite.addTest(makeSuite(BaseObjectTest))
00144     return suite

Variable Documentation

Initial value:
00001 DisplayList(
00002     (
00003     ('1', _(u'Option 1 : printemps')),
00004     ('2', unicode('Option 2 : \xc3\xa9t\xc3\xa9', 'utf-8')), # e-acute t e-acute
00005     ('3', u'Option 3 : automne'),
00006     ('4', _(u'option3', default=u'Option 3 : hiver')),
00007     ))

Definition at line 38 of file test_baseobject.py.

Initial value:
00001 BaseSchema+Schema((
00002     LinesField(
00003         'MULTIPLEFIELD',
00004         searchable = 1,
00005         vocabulary = MULTIPLEFIELD_LIST,
00006         widget = MultiSelectionWidget(
00007             i18n_domain = 'plone',
00008             ),
00009         ), 
00010     TextField(
00011         'TEXTFIELD',
00012         primary=True,
00013         ),
00014 ))

Definition at line 46 of file test_baseobject.py.